Fix Knack.be & LeVif.be

This commit is contained in:
magnolia1234 2022-06-27 17:13:29 +02:00
parent 64d0880c3f
commit dae40ce4d9
6 changed files with 24 additions and 12 deletions

View File

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add BQ Prime (former Bloomberg Quint) Add BQ Prime (former Bloomberg Quint)
Fix Knack.be & LeVif.be
Fix Times of India (no amp) Fix Times of India (no amp)
* v2.7.3.0 (2022-06-26) * v2.7.3.0 (2022-06-26)

View File

@ -1905,12 +1905,15 @@ else if (matchDomain(['gva.be', 'hbvl.be', 'nieuwsblad.be'])) {
}, 500); // Delay (in milliseconds) }, 500); // Delay (in milliseconds)
} }
else if (matchDomain(['knack.be', 'levif.be'])) { else if (matchDomain(['knack.be', 'levif.be'])) {
let paywall = document.querySelector('#paywall-modal'); let paywall = document.querySelector('#paywall-modal, #datawall-modal');
if (paywall) { if (paywall) {
removeDOMElement(paywall); removeDOMElement(paywall);
document.querySelector('html').setAttribute('style', 'overflow-y: visible !important'); function knack_noscroll(node) {
node.removeAttribute('style');
node.removeAttribute('class');
}
waitDOMAttribute('html', 'html', 'style', knack_noscroll, true);
} }
} }

View File

@ -136,6 +136,9 @@
"allow_cookies": 1, "allow_cookies": 1,
"domain": "supchina.com" "domain": "supchina.com"
}, },
"Swarajyamag.com": {
"domain": "swarajyamag.com"
},
"The-japan-news.com": { "The-japan-news.com": {
"domain": "the-japan-news.com" "domain": "the-japan-news.com"
}, },

View File

@ -687,5 +687,5 @@
"*://*.wsj.net/*", "*://*.wsj.net/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "2.7.3.1" "version": "2.7.3.2"
} }

View File

@ -863,7 +863,7 @@ var defaultSites = {
"Knack.be": { "Knack.be": {
domain: "knack.be", domain: "knack.be",
allow_cookies: 1, allow_cookies: 1,
block_regex: /(\.knack\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/ block_regex: /\.blueconic\.net\//
}, },
"Kölner Stadt-Anzeiger": { "Kölner Stadt-Anzeiger": {
domain: "ksta.de", domain: "ksta.de",
@ -1022,7 +1022,7 @@ var defaultSites = {
"Le Vif.be": { "Le Vif.be": {
domain: "levif.be", domain: "levif.be",
allow_cookies: 1, allow_cookies: 1,
block_regex: /(\.levif\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/ block_regex: /\.blueconic\.net\//
}, },
"Lee Enterprises Group": { "Lee Enterprises Group": {
domain: "###_usa_lee_ent", domain: "###_usa_lee_ent",
@ -1422,7 +1422,7 @@ var defaultSites = {
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.tinypass\.com\// block_regex: /\.tinypass\.com\//
}, },
"Quora": { "Quora (not plus)": {
domain: "quora.com", domain: "quora.com",
allow_cookies: 1, allow_cookies: 1,
useragent: "googlebot" useragent: "googlebot"

View File

@ -1,17 +1,20 @@
{ {
"Artforum": { "Artforum": {
"domain": "artforum.com" "domain": "artforum.com",
"new_site": 1
}, },
"BQ Prime": { "BQ Prime": {
"domain": "bqprime.com", "domain": "bqprime.com",
"allow_cookies": 1, "allow_cookies": 1,
"block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", "block_regex": "(cdn\\.cxense\\.com\\/|\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"amp_unhide": 1 "amp_unhide": 1,
"new_site": 1
}, },
"Initium Media": { "Initium Media": {
"domain": "theinitium.com", "domain": "theinitium.com",
"allow_cookies": 1, "allow_cookies": 1,
"useragent": "googlebot" "useragent": "googlebot",
"new_site": 1
}, },
"L'Avenir": { "L'Avenir": {
"domain": "lavenir.net", "domain": "lavenir.net",
@ -25,11 +28,13 @@
} }
] ]
} }
] ],
"new_site": 1
}, },
"The Banker": { "The Banker": {
"allow_cookies": 1, "allow_cookies": 1,
"domain": "thebanker.com", "domain": "thebanker.com",
"useragent": "googlebot" "useragent": "googlebot",
"new_site": 1
} }
} }