Fix Westfaelische Nachrichten & Westfalen-Blatt

Plus fix Boston Globe (incognito mode)
This commit is contained in:
magnolia1234 2021-10-29 08:48:52 +02:00
parent 687c730754
commit 70832c261c
3 changed files with 15 additions and 4 deletions

View file

@ -2,6 +2,8 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Fix Boston Globe (incognito mode)
Fix Westfaelische Nachrichten & Westfalen-Blatt
* v2.4.1.3 (2021-10-28)
Fix Repubblica sites (disable Googlebot)

View file

@ -568,9 +568,15 @@ else if (matchDomain(['westfalen-blatt.de', 'wn.de'])) {
let subscr_sections = document.querySelectorAll('section[subscriptions-section="content"]');
for (let subscr_section of subscr_sections)
subscr_section.removeAttribute('subscriptions-section');
let amp_ads = document.querySelectorAll('amp-ad, amp-embed, section[class^="fp-ad"]');
removeDOMElement(...amp_ads);
} else {
let paywall = document.querySelector('.fp-article-paywall');
if (paywall) {
removeDOMElement(paywall);
window.location.href = url.replace('.de/', '.de/amp/');
}
}
let amp_ads = document.querySelectorAll('amp-ad, section[class^="fp-ad"]');
removeDOMElement(...amp_ads);
}
else if ((domain = matchDomain(de_madsack_domains)) || document.querySelector('link[rel="preload"][href="https://static.rndtech.de/cmp/1.x.x.js"]')) {
@ -1707,7 +1713,7 @@ else if (matchDomain('bloombergquint.com')) {
}
else if (matchDomain('bostonglobe.com')) {
let paywall = document.querySelector('div.meter-paywall');
let paywall = document.querySelector('div.meter-paywall, div.incognito-paywall');
let fade = document.querySelector('div.fade');
if (paywall || fade) {
removeDOMElement(paywall);
@ -1718,6 +1724,9 @@ else if (matchDomain('bostonglobe.com')) {
if (continue_button)
continue_button.click();
}
let ads = document.querySelectorAll('div.arc_ad');
for (let ad of ads)
ad.style = 'display:none';
}
else if (matchDomain('business-standard.com')) {

View file

@ -556,5 +556,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.4.1.3"
"version": "2.4.1.4"
}