mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:47:47 +01:00
Bugfix Le Dauphine (plus some French sites)
This commit is contained in:
parent
72c4b0b9de
commit
5071b9f119
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue