Fix LaVie.fr

master
magnolia1234 2022-08-18 08:50:23 +02:00
parent 2a783e2c34
commit f366b17767
5 changed files with 24 additions and 2 deletions

View File

@ -5,6 +5,7 @@ Post-release
Add Nw.de
Add Substack custom domains (opt-in to custom sites)
Fix El Correo & La Voz de Cadiz
Fix LaVie.fr
* v2.8.0.0 (2022-08-15)
Add Gazzetta.it

View File

@ -1357,6 +1357,14 @@ else if (matchDomain('lavenir.net')) {
removeDOMElement(...ads);
}
else if (matchDomain('lavie.fr')) {
let paywall = document.querySelector('div.bloc-payant');
removeDOMElement(paywall);
let overlay = document.querySelector('div.content-art[style]');
if (overlay)
overlay.removeAttribute('style');
}
else if (matchDomain(['lejdd.fr', 'parismatch.com'])) {
let poool_banner = document.querySelector('#poool-container');
let forbidden = document.querySelector('.forbidden');

View File

@ -43,5 +43,5 @@
"webRequestBlocking",
"<all_urls>"
],
"version": "2.8.0.3"
"version": "2.8.0.4"
}

View File

@ -688,5 +688,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.0.3"
"version": "2.8.0.4"
}

View File

@ -9,6 +9,19 @@
}
]
},
"La Vie": {
"domain": "lavie.fr",
"allow_cookies": 1,
"block_regex": "\\.poool\\.fr\\/",
"cs_code": [{
"cond": "div.bloc-payant",
"rm_elem": 1
}, {
"cond": "div.content-art[style]",
"rm_attrib": "style"
}
]
},
"Neue Westfälische": {
"domain": "nw.de",
"allow_cookies": 1,