diff --git a/changelog.txt b/changelog.txt index eedf3c4..e11fef7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index a9d2628..f55fe18 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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; }); } diff --git a/manifest.json b/manifest.json index 06b3945..594a98f 100644 --- a/manifest.json +++ b/manifest.json @@ -637,5 +637,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.6.0.1" + "version": "2.6.0.2" }