mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:07:47 +01:00
Fix LesEchos.fr (hide ads instead of removing)
Header sections weren't working or error-message. Plus new premium-articles have hard paywall.
This commit is contained in:
parent
3a2d567b72
commit
662a7347ce
3 changed files with 5 additions and 5 deletions
|
@ -146,7 +146,7 @@
|
|||
[Le Journal du Dimanche](https://lejdd.fr) –
|
||||
[Le Monde](https://www.lemonde.fr) -
|
||||
[Le Parisien](https://www.leparisien.fr) -
|
||||
[Les Échos](https://www.lesechos.fr) -
|
||||
[Les Échos](https://www.lesechos.fr)* -
|
||||
[Libération](https://www.liberation.fr)* –
|
||||
[Valeurs Actuelles](https://www.valeursactuelles.com)
|
||||
##### Germany/Austria
|
||||
|
|
|
@ -9,7 +9,7 @@ if (!localstorage_hold){
|
|||
|
||||
// Content workarounds/domain
|
||||
if (location.hostname.endsWith('rep.repubblica.it')) {
|
||||
if (location.href.includes('/pwa/')) {
|
||||
if (location.href.includes('/pwa/')) {
|
||||
location.href = location.href.replace('/pwa/', '/ws/detail/');
|
||||
}
|
||||
if (location.href.includes('/ws/detail/')) {
|
||||
|
@ -400,8 +400,8 @@ if (window.location.href.indexOf("cen.acs.org") !== -1) {
|
|||
|
||||
if (window.location.href.indexOf("lesechos.fr") !== -1) {
|
||||
const ad_block = document.querySelectorAll('.jzxvkd-1');
|
||||
for (let i=0; i < ad_block.length; i++) {
|
||||
ad_block[i].remove();
|
||||
for (let i = 0; i < ad_block.length; i++) {
|
||||
ad_block[i].setAttribute('style', 'display:none');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
"Le Monde": "lemonde.fr",
|
||||
"Le Parisien": "leparisien.fr",
|
||||
"Leeuwarder Courant": "lc.nl",
|
||||
"Les Échos": "lesechos.fr",
|
||||
"Les Échos": "lesechos.fr (free articles only)",
|
||||
"Libération (free articles only)": "liberation.fr",
|
||||
"Loeb Classical Library": "loebclassics.com",
|
||||
"London Review of Books": "lrb.co.uk",
|
||||
|
|
Loading…
Reference in a new issue