Remove LeMonde.fr (obsolete)

This commit is contained in:
magnolia1234 2020-04-22 22:59:29 +02:00
parent 95aa5df50d
commit a465fe37cb
4 changed files with 0 additions and 22 deletions

View File

@ -190,7 +190,6 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
[L'Opinion](https://www.lopinion.fr)
[La Dépêche](https://www.ladepeche.fr)
[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)* -
[Libération](https://www.liberation.fr)*

View File

@ -40,7 +40,6 @@ var allow_cookies = [
'humo.be',
'intelligentinvestor.com.au',
'kleinezeitung.at',
'lemonde.fr',
'lc.nl',
'lrb.co.uk',
'mexiconewsdaily.com',
@ -118,7 +117,6 @@ const use_google_bot_default = [
'handelsblatt.com',
'heraldsun.com.au',
'intelligentinvestor.com.au',
'lemonde.fr',
'mexiconewsdaily.com',
'ntnews.com.au',
'quora.com',

View File

@ -200,24 +200,6 @@ else if (matchDomain("medium.com")) {
if (DOMElementsToTextDiv[2]) removeDOMElement(DOMElementsToTextDiv[2]);
}
else if (matchDomain('lemonde.fr')) {
document.addEventListener('DOMContentLoaded', () => {
const hidden_section = document.querySelector('.article__content--restricted-media');
if (hidden_section)
hidden_section.classList.remove('article__content--restricted-media');
const longform_article_restricted = document.querySelector('.article__content--restricted');
if (longform_article_restricted)
longform_article_restricted.classList.remove('article__content--restricted');
const longform_paywall = document.querySelector('.paywall--longform');
if (longform_paywall)
longform_paywall.classList.remove('paywall--longform');
const paywall = document.getElementById('js-paywall-content');
const friend_paywall = document.querySelector('.friend--paywall');
const cookie_banner = document.getElementById('cookie-banner');
removeDOMElement(paywall, friend_paywall, cookie_banner);
});
}
else if (matchDomain("ledevoir.com")) {
const counter = document.querySelector('.popup-msg');
removeDOMElement(counter);

View File

@ -69,7 +69,6 @@ var defaultSites =
"La Tercera": "latercera.com",
"Le Devoir": "ledevoir.com",
"Le Journal du Dimanche": "lejdd.fr",
"Le Monde": "lemonde.fr",
"Le Parisien": "leparisien.fr",
"Le Scienze": "lescienze.it",
"Leeuwarder Courant": "lc.nl",