Fix-update Le Dauphine (plus some French sites)

master
magnolia1234 2021-04-12 18:02:54 +02:00
parent b1a789d0c9
commit 99123a37a2
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -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');