mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Fix Knack.be & LeVif.be
This commit is contained in:
parent
64d0880c3f
commit
dae40ce4d9
6 changed files with 24 additions and 12 deletions
|
@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
|
||||
Post-release
|
||||
Add BQ Prime (former Bloomberg Quint)
|
||||
Fix Knack.be & LeVif.be
|
||||
Fix Times of India (no amp)
|
||||
|
||||
* v2.7.3.0 (2022-06-26)
|
||||
|
|
|
@ -1905,12 +1905,15 @@ else if (matchDomain(['gva.be', 'hbvl.be', 'nieuwsblad.be'])) {
|
|||
}, 500); // Delay (in milliseconds)
|
||||
}
|
||||
|
||||
|
||||
else if (matchDomain(['knack.be', 'levif.be'])) {
|
||||
let paywall = document.querySelector('#paywall-modal');
|
||||
let paywall = document.querySelector('#paywall-modal, #datawall-modal');
|
||||
if (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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -136,6 +136,9 @@
|
|||
"allow_cookies": 1,
|
||||
"domain": "supchina.com"
|
||||
},
|
||||
"Swarajyamag.com": {
|
||||
"domain": "swarajyamag.com"
|
||||
},
|
||||
"The-japan-news.com": {
|
||||
"domain": "the-japan-news.com"
|
||||
},
|
||||
|
|
|
@ -687,5 +687,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "2.7.3.1"
|
||||
"version": "2.7.3.2"
|
||||
}
|
||||
|
|
6
sites.js
6
sites.js
|
@ -863,7 +863,7 @@ var defaultSites = {
|
|||
"Knack.be": {
|
||||
domain: "knack.be",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.knack\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/
|
||||
block_regex: /\.blueconic\.net\//
|
||||
},
|
||||
"Kölner Stadt-Anzeiger": {
|
||||
domain: "ksta.de",
|
||||
|
@ -1022,7 +1022,7 @@ var defaultSites = {
|
|||
"Le Vif.be": {
|
||||
domain: "levif.be",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.levif\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/
|
||||
block_regex: /\.blueconic\.net\//
|
||||
},
|
||||
"Lee Enterprises Group": {
|
||||
domain: "###_usa_lee_ent",
|
||||
|
@ -1422,7 +1422,7 @@ var defaultSites = {
|
|||
allow_cookies: 1,
|
||||
block_regex: /\.tinypass\.com\//
|
||||
},
|
||||
"Quora": {
|
||||
"Quora (not plus)": {
|
||||
domain: "quora.com",
|
||||
allow_cookies: 1,
|
||||
useragent: "googlebot"
|
||||
|
|
|
@ -1,17 +1,20 @@
|
|||
{
|
||||
"Artforum": {
|
||||
"domain": "artforum.com"
|
||||
"domain": "artforum.com",
|
||||
"new_site": 1
|
||||
},
|
||||
"BQ Prime": {
|
||||
"domain": "bqprime.com",
|
||||
"allow_cookies": 1,
|
||||
"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": {
|
||||
"domain": "theinitium.com",
|
||||
"allow_cookies": 1,
|
||||
"useragent": "googlebot"
|
||||
"useragent": "googlebot",
|
||||
"new_site": 1
|
||||
},
|
||||
"L'Avenir": {
|
||||
"domain": "lavenir.net",
|
||||
|
@ -25,11 +28,13 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
"new_site": 1
|
||||
},
|
||||
"The Banker": {
|
||||
"allow_cookies": 1,
|
||||
"domain": "thebanker.com",
|
||||
"useragent": "googlebot"
|
||||
"useragent": "googlebot",
|
||||
"new_site": 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue