Fix Automobilwoche.de (js)

Fix Tijd.be (belegger subdomain)
This commit is contained in:
magnolia1234 2023-09-10 17:27:36 +02:00
parent b004a0e0ff
commit 07093694fd
6 changed files with 29 additions and 32 deletions

View file

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release Post-release
Add PourLaScience.fr Add PourLaScience.fr
Fix Automobilwoche.de (js)
Fix Inc42 (js) Fix Inc42 (js)
Fix MarketWatch (amp-redirect) Fix MarketWatch (amp-redirect)
Fix Outside magazines (domains obsolete) Fix Outside magazines (domains obsolete)
@ -11,6 +12,7 @@ Fix Puck.news (ld_json_url)
Fix Tes Magazine (css) Fix Tes Magazine (css)
Fix The Diplomat (magazine) Fix The Diplomat (magazine)
Fix The Wrap (ld_json_url) Fix The Wrap (ld_json_url)
Fix Tijd.be (belegger subdomain)
Update block general paywall script (fix Ippen.space) Update block general paywall script (fix Ippen.space)
* v3.3.2.0 (2023-09-03) * v3.3.2.0 (2023-09-03)

View file

@ -2639,6 +2639,19 @@ else if (matchDomain('telegraaf.nl')) {
removeDOMElement(...banners); removeDOMElement(...banners);
} }
else if (matchDomain('tijd.be')) {
if (matchDomain('belegger.tijd.be')) {
let noscroll = document.querySelector('body.js-overflow-hidden');
if (noscroll)
noscroll.classList.remove('js-overflow-hidden');
let inert = document.querySelectorAll('[inert]');
for (let elem of inert)
elem.removeAttribute('inert');
let banner = document.querySelector('div[data-id="react-paywall-investor"]');
removeDOMElement(banner);
}
}
else if (matchDomain('vn.nl')) { else if (matchDomain('vn.nl')) {
let paywall = document.querySelector('div.content__message-no-access-container'); let paywall = document.querySelector('div.content__message-no-access-container');
if (paywall && dompurify_loaded) { if (paywall && dompurify_loaded) {

View file

@ -51,5 +51,5 @@
"webRequestBlocking", "webRequestBlocking",
"*://*/*" "*://*/*"
], ],
"version": "3.3.2.7" "version": "3.3.2.8"
} }

View file

@ -791,5 +791,5 @@
"*://*.wyleex.com/*", "*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*" "*://webcache.googleusercontent.com/*"
], ],
"version": "3.3.2.7" "version": "3.3.2.8"
} }

View file

@ -198,7 +198,7 @@ var defaultSites = {
"Automobilwoche": { "Automobilwoche": {
domain: "automobilwoche.de", domain: "automobilwoche.de",
allow_cookies: 1, allow_cookies: 1,
block_regex: /\.automobilwoche\.de\/sites\/camw\/files\/js\/js_9G4.+\.js/ block_regex: /\.automobilwoche\.de\/sites\/camw\/files\/js\/js_wB7.+\.js/
}, },
"AutoPlus.fr": { "AutoPlus.fr": {
domain: "autoplus.fr", domain: "autoplus.fr",

View file

@ -1,4 +1,10 @@
{ {
"Automobilwoche": {
"domain": "automobilwoche.de",
"allow_cookies": 1,
"block_regex": "\\.automobilwoche\\.de\\/sites\\/camw\\/files\\/js\\/js_wB7.+\\.js",
"upd_version": "3.3.2.8"
},
"Beleggersbelangen.nl": { "Beleggersbelangen.nl": {
"domain": "beleggersbelangen.nl", "domain": "beleggersbelangen.nl",
"allow_cookies": 1, "allow_cookies": 1,
@ -25,11 +31,11 @@
"block_regex": "(\\.tinypass\\.com\\/api\\/tinypass\\.min\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)", "block_regex": "(\\.tinypass\\.com\\/api\\/tinypass\\.min\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"upd_version": "3.3.1.7" "upd_version": "3.3.1.7"
}, },
"Fast Company": { "De Tijd": {
"domain": "fastcompany.com", "domain": "tijd.be",
"allow_cookies": 1, "referer": "google",
"block_regex": "(\\.tinypass\\.com|\\.fastcompany\\.com\\/script\\.js)", "cs_code": "[{\"cond\":\"body.js-overflow-hidden\", \"rm_class\":\"js-overflow-hidden\"}, {\"cond\":\"[inert]\", \"rm_attrib\": \"inert\"}, {\"cond\":\"div[data-id='react-paywall-investor']\", \"rm_elem\": 1}]",
"upd_version": "3.3.0.6" "upd_version": "3.3.2.8"
}, },
"Fortune": { "Fortune": {
"domain": "fortune.com", "domain": "fortune.com",
@ -38,13 +44,6 @@
"cs_code": "[{\"cond\":\"div.paywallActive\", \"rm_attrib\":\"class\"}]", "cs_code": "[{\"cond\":\"div.paywallActive\", \"rm_attrib\":\"class\"}]",
"upd_version": "3.3.1.5" "upd_version": "3.3.1.5"
}, },
"Forbes": {
"domain": "forbes.com",
"allow_cookies": 1,
"block_js_inline": "\\.forbes\\.com\\/sites",
"block_regex": "(\\.tinypass\\.com|\\.blueconic\\.net)",
"upd_version": "3.3.0.8"
},
"Inc42": { "Inc42": {
"domain": "inc42.com", "domain": "inc42.com",
"allow_cookies": 1, "allow_cookies": 1,
@ -57,12 +56,6 @@
"block_regex_general": "(\\.ippen\\.space\\/js\\/paywall\\.js|\\/sub\\/js\\/pc-offer-west\\.js)", "block_regex_general": "(\\.ippen\\.space\\/js\\/paywall\\.js|\\/sub\\/js\\/pc-offer-west\\.js)",
"upd_version": "3.3.2.2" "upd_version": "3.3.2.2"
}, },
"LeTemps.ch": {
"domain": "letemps.ch",
"allow_cookies": 1,
"ld_google_webcache": "div.post-subscribe|div.post-body-wrapper",
"upd_version": "3.3.0.5"
},
"MarketWatch": { "MarketWatch": {
"domain": "marketwatch.com", "domain": "marketwatch.com",
"allow_cookies": 1, "allow_cookies": 1,
@ -70,17 +63,6 @@
"amp_redirect": "div#cx-snippet", "amp_redirect": "div#cx-snippet",
"upd_version": "3.3.2.6" "upd_version": "3.3.2.6"
}, },
"Mediahuis Noord": {
"domain": "###_nl_mediahuis_noord",
"group": [
"dvhn.nl",
"lc.nl"
],
"allow_cookies": 1,
"block_regex": "(\\.evolok\\.net\\/|\\.ndcmediagroep\\.nl\\/js\\/evolok\\/|\\.nl\\/_\\/zh\\/worker)",
"cs_dompurify": 1,
"upd_version": "3.3.0.1"
},
"Nikkei Asian Review": { "Nikkei Asian Review": {
"domain": "asia.nikkei.com", "domain": "asia.nikkei.com",
"allow_cookies": 1, "allow_cookies": 1,