Bugfix Le Dauphine (plus some French sites)

This commit is contained in:
magnolia1234 2021-04-12 18:03:12 +02:00
parent 72c4b0b9de
commit 5071b9f119
2 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Bugfix Le Dauphine (plus some French sites)
* v2.1.6.0 (2021-04-11) * v2.1.6.0 (2021-04-11)
Add Dagens Industri (Sweden) Add Dagens Industri (Sweden)

View file

@ -805,7 +805,9 @@ else if (matchDomain('charliehebdo.fr')) {
let poool_widget = document.querySelector('div#poool-widget'); let poool_widget = document.querySelector('div#poool-widget');
removeDOMElement(poool_widget); removeDOMElement(poool_widget);
}, 500); // Delay (in milliseconds) }, 500); // Delay (in milliseconds)
} else if (matchDomain('esprit.presse.fr')) { }
else if (matchDomain('esprit.presse.fr')) {
let paywall = document.querySelector('.panel-popup-paywall'); let paywall = document.querySelector('.panel-popup-paywall');
removeDOMElement(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; let url = window.location.href;
if (!url.includes('la-croix.com/amp/')) { if (!url.includes('la-croix.com/amp/')) {
let paywall_host_param = document.querySelector('#paywall-host-param'); let paywall_host_param = document.querySelector('#paywall-host-param');