mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 01:51:08 +02:00
Fix Algemeen Dagblad (regional; refresh)
This commit is contained in:
parent
80007cd0f4
commit
c2cbdeb93b
3 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
Changelog Bypass Paywalls Clean - Firefox
|
||||
|
||||
Post-release
|
||||
Fix Algemeen Dagblad (regional; refresh)
|
||||
Fix Funke Mediengruppe (opt-in to custom sites for unlisted)
|
||||
|
||||
* v2.6.0.0 (2022-03-13)
|
||||
|
|
|
@ -1664,6 +1664,11 @@ else
|
|||
} else if (window.location.hostname.match(/\.(be|nl)$/)) {//belgium/netherlands
|
||||
|
||||
if (matchDomain(['bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl'])) {
|
||||
let login = document.querySelector('article#PURCHASE_LOGIN_WALL');
|
||||
if (login) {
|
||||
removeDOMElement(login);
|
||||
window.location.reload(true);
|
||||
}
|
||||
let paywall = document.querySelectorAll('.article__component--paywall-module-notification, .fjs-paywall-notification');
|
||||
let modal_login = document.querySelector('.modal--login');
|
||||
removeDOMElement(...paywall, modal_login);
|
||||
|
@ -3654,6 +3659,8 @@ function replaceDomElementExt(url, proxy, base64, selector, text_fail = '', sele
|
|||
article.insertBefore(text_fail_div, article.firstChild);
|
||||
}
|
||||
}
|
||||
}).catch(function (err) {
|
||||
false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -637,5 +637,5 @@
|
|||
"*://*.wallkit.net/*",
|
||||
"*://*.wsj.net/*"
|
||||
],
|
||||
"version": "2.6.0.1"
|
||||
"version": "2.6.0.2"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue