diff --git a/changelog.txt b/changelog.txt index 79eba39..7201c5b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Bugfix Le Dauphine (plus some French sites) * v2.1.6.0 (2021-04-11) Add Dagens Industri (Sweden) diff --git a/contentScript.js b/contentScript.js index 32418c8..eeb44b5 100644 --- a/contentScript.js +++ b/contentScript.js @@ -805,7 +805,9 @@ else if (matchDomain('charliehebdo.fr')) { let poool_widget = document.querySelector('div#poool-widget'); removeDOMElement(poool_widget); }, 500); // Delay (in milliseconds) -} else if (matchDomain('esprit.presse.fr')) { +} + +else if (matchDomain('esprit.presse.fr')) { let paywall = document.querySelector('.panel-popup-paywall'); removeDOMElement(paywall); } @@ -852,7 +854,7 @@ else if (matchDomain(['lejdd.fr', 'parismatch.com'])) { } } -if (matchDomain('la-croix.com')) { +else if (matchDomain('la-croix.com')) { let url = window.location.href; if (!url.includes('la-croix.com/amp/')) { let paywall_host_param = document.querySelector('#paywall-host-param');