Fix Knack.be

This commit is contained in:
magnolia1234 2021-10-22 19:16:40 +02:00
parent 9157ebcd8c
commit 200fe6f0b7
5 changed files with 5 additions and 4 deletions

View File

@ -346,7 +346,7 @@ var blockedRegexes = {
'irishtimes.com': /cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js/,
'japantimes.co.jp': /\.piano\.io\//,
'jpost.com': /\.jpost\.com\/bundles\/js_article\?/,
'knack.be': /\.knack\.be\/js\/responsive\/rmgModal\.js/,
'knack.be': /(\.knack\.be\/js\/responsive\/rmg(Modal|Paywall)\.js|\.blueconic\.net\/)/,
'kurier.at': /\.tinypass\.com\//,
'la-croix.com': /(\.la-croix\.com\/build\/lacroix\/article.+\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/,
'lasegunda.com': /\.(lasegunda\.com|emol\.cl)\/(.+\/)?js\/(.+\/)?(modal|merPramV\d|PramModal\.min)\.js/,

View File

@ -9,6 +9,7 @@ Fix Bloomberg (charts)
Fix Business Standard
Fix Il Tirreno (GElocal.it)
Fix Financial Times (amp)
Fix Knack.be
Fix La Croix (timing)
Fix The Globe and Mail
Fix The New Yorker (homepage)

View File

@ -1188,7 +1188,7 @@ else if (matchDomain('ftm.nl')) {
}
else if (matchDomain('knack.be')) {
let paywall = document.querySelector('.rmgPaywall');
let paywall = document.querySelector('[class$="Paywall"], #paywall-modal-below');
if (paywall) {
removeDOMElement(paywall);
let hidden_body = document.querySelector('div.rmgDetail-body div');

View File

@ -39,5 +39,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.4.0.5"
"version": "2.4.0.6"
}

View File

@ -544,5 +544,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.4.0.5"
"version": "2.4.0.6"
}