Remove LeMonde.fr (obsolete)
This commit is contained in:
parent
95aa5df50d
commit
a465fe37cb
@ -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)* –
|
||||
|
@ -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',
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user