Update custom sites (add_ext_link: Google webcache)

This commit is contained in:
magnolia1234 2023-07-31 16:59:24 +02:00
parent ed8b7d6829
commit 099a05e9c1
8 changed files with 28 additions and 6 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Update custom sites (add_ext_link: Google webcache)
* v3.2.7.0 (2023-07-30)
Add Mannheimer-Morgen.de (Haas)

View File

@ -177,6 +177,9 @@ if (bg2csData.add_ext_link) {
case '12ft.io':
article.firstChild.before(ext_12ftLink(url));
break;
case 'google_webcache':
article.firstChild.before(googleWebcacheLink(url));
break;
}
}
}

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.7.0"
"version": "3.2.7.1"
}

View File

@ -4,6 +4,12 @@
"block_regex": "\\.piano\\.io",
"domain": "abajournal.com"
},
"Airmail.news": {
"add_ext_link": "div.paywall-card|div.article-text",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "airmail.news"
},
"Arkansasonline.com": {
"domain": "arkansasonline.com"
},
@ -464,6 +470,12 @@
"amp_redirect": "div#story-notification",
"domain": "swarajyamag.com"
},
"Tagesspiegel.de": {
"add_ext_link": "div#paywal|div.article--paid",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "tagesspiegel.de"
},
"The-past.com": {
"domain": "the-past.com"
},
@ -488,6 +500,12 @@
"block_regex": "js\\.pelcro\\.com",
"domain": "theday.com"
},
"Thedispatch.com": {
"add_ext_link": "section.paywall-section|div.content",
"add_ext_link_type": "archive.is",
"allow_cookies": 1,
"domain": "thedispatch.com"
},
"Theepochtimes.com": {
"allow_cookies": 1,
"block_regex": "subs\\.theepochtimes\\.com\\/lib\\/api\\.bundle\\.js",

View File

@ -771,5 +771,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.7.0"
"version": "3.2.7.1"
}

View File

@ -9,7 +9,7 @@ var custom_switch = ((manifestData.optional_permissions && manifestData.optional
var useragent_options = ['', 'googlebot', 'bingbot', 'facebookbot'];
var referer_options = ['', 'facebook', 'google', 'twitter'];
var random_ip_options = ['', 'all', 'eu'];
var add_ext_link_type_options = ['', 'archive.is', '12ft.io']
var add_ext_link_type_options = ['', 'archive.is', '12ft.io', 'google_webcache']
function capitalize(str) {
return (typeof str === 'string') ? str.charAt(0).toUpperCase() + str.slice(1) : '';

View File

@ -242,7 +242,7 @@ var defaultSites = {
"Bloomberg": {
domain: "bloomberg.com",
allow_cookies: 1,
block_regex: /\.cm\.bloomberg\.com\//
block_regex: /(\.cm\.bloomberg\.com\/|assets\.bwbx\.io\/s\d\/javelin\/.+\/transporter\/)/
},
"Bloomberg Adria": {
domain: "bloombergadria.com",

View File

@ -36,8 +36,8 @@
"Bloomberg": {
"domain": "bloomberg.com",
"allow_cookies": 1,
"block_regex": "\\.cm\\.bloomberg\\.com",
"upd_version": "3.2.6.5"
"block_regex": "(\\.cm\\.bloomberg\\.com\\/|assets\\.bwbx\\.io\\/s\\d\\/javelin\\/.+\\/transporter\\/)",
"upd_version": "3.2.7.1"
},
"Business Standard": {
"domain": "business-standard.com",