Fix Wiwo.de (anti-adblocker)

This commit is contained in:
magnolia1234 2024-03-31 16:49:44 +02:00
parent 416d518b4c
commit 5b82051baf
6 changed files with 13 additions and 2 deletions

View file

@ -9,6 +9,7 @@ Remove Hbvl.be (fix obsolete)
Remove The Banker (fix obsolete)
Fix Humanite.fr
Fix LeMonde.fr (bug; update rules)
Fix Wiwo.de (anti-adblocker)
Fix WSJ (intro video)
Update custom sites (search)

View file

@ -1449,6 +1449,8 @@ else if (matchDomain('weser-kurier.de')) {
else if (matchDomain('wiwo.de')) {
let url = window.location.href;
getArchive(url, 'div.o-paywall', '', 'article');
let banner = document.querySelector('div.c-overscroller');
hideDOMElement(banner);
}
else if (matchDomain('zeit.de')) {

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.6.1.6"
"version": "3.6.1.7"
}

View file

@ -866,5 +866,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.6.1.6"
"version": "3.6.1.7"
}

View file

@ -2873,6 +2873,7 @@ var defaultSites = {
"WirtschaftsWoche (fetch from archive.is)": {
domain: "wiwo.de",
allow_cookies: 1,
block_regex: /\.wiwo\.de\/js\/.+\/wt\..+\.js/,
cs_dompurify: 1
},
"Wonderzine": {

View file

@ -135,5 +135,12 @@
"block_regex": "(cdn\\.cxense\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
"cs_dompurify": 1,
"upd_version": "3.6.0.6"
},
"WirtschaftsWoche": {
"domain": "wiwo.de",
"allow_cookies": 1,
"block_regex": "\\.wiwo\\.de\\/js\\/.+\\/wt\\..+\\.js",
"ld_archive_is": "div.o-paywall|article",
"upd_version": "3.6.1.7"
}
}