Fix LeTelegramme.fr (css)

This commit is contained in:
magnolia1234 2023-06-24 08:21:13 +02:00
parent b4ea5cb260
commit 18a2a8387f
2 changed files with 11 additions and 2 deletions

View file

@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox
Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases
Post-release
Fix LeTelegramme.fr (css)
Fix The Athletic (timing)
* v3.2.1.0 (2023-06-05)
@ -1239,8 +1240,8 @@ Fix Stratfor
* v2.1.5.0 (2021-04-04)
Add Billboard
Add La Tribune (France)
Add Le Telegramme (France)
Add LaTribune.fr
Add LeTelegramme.fr
Fix Mexico News Daily
Update options: restore opt-in for custom sites (on reload; Chrome-only)

View file

@ -1717,6 +1717,14 @@ else if (matchDomain('lesinrocks.com')) {
}
}
else if (matchDomain('letelegramme.fr')) {
let paywall = document.querySelectorAll('div.tlg-paywalled');
for (let elem of paywall)
elem.classList.remove('tlg-paywalled');
let ads = document.querySelectorAll('div[id^="pub_"]');
hideDOMElement(...ads);
}
else if (matchDomain('lexpress.fr')) {
let ads = document.querySelectorAll('div[class^="block_pub"], div.bottom-bar-full, div.tead, div.ban-bottom, div.placeholder--ban-atf');
hideDOMElement(...ads);