Add LeGrandContinent.eu

This commit is contained in:
magnolia1234 2023-04-02 20:25:38 +02:00
parent ca354b08cc
commit 1de30a50af
7 changed files with 24 additions and 3 deletions

View file

@ -459,6 +459,7 @@ Grouped in options:\
[La Tribune](https://www.latribune.fr) -
[Le Courrier des Stratèges](https://lecourrierdesstrateges.fr) -
[Le Figaro (link to archive.is)](https://www.lefigaro.fr) -
[Le Grand Continent](https://legrandcontinent.eu) -
[Le Journal du Dimanche](https://lejdd.fr) -
[Le Journal du Net](https://www.journaldunet.com) -
[Le Nouvel Economiste](https://www.lenouveleconomiste.fr) -

View file

@ -4,6 +4,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release
Post-release
Add Epicurious (Conde Nast)
Add LeGrandContinent.eu
Add Schwaebische.de
Add TagesAnzeiger.ch (link to archive.is)
Remove Business Standard (fix obsolete)

View file

@ -1255,7 +1255,7 @@ else if (matchDomain('politicaexterior.com')) {
else
csDone = true;
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'ledauphine.com', 'lesinrocks.com', 'lejsl.com', 'lesoir.be', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com', 'sudinfo.be'].concat(fr_groupe_nice_matin_domains))) {//france
} else if (window.location.hostname.endsWith('.fr') || matchDomain(['bienpublic.com', 'connaissancedesarts.com', 'journaldunet.com', 'la-croix.com', 'ledauphine.com', 'legrandcontinent.eu', 'lejsl.com', 'lesinrocks.com', 'lesoir.be', 'loeildelaphotographie.com', 'marianne.net', 'nouvelobs.com', 'parismatch.com', 'science-et-vie.com', 'sudinfo.be'].concat(fr_groupe_nice_matin_domains))) {//france
if (matchDomain('alternatives-economiques.fr')) {
window.setTimeout(function () {
@ -1497,6 +1497,14 @@ else if (matchDomain('lefigaro.fr')) {
}
}
else if (matchDomain('legrandcontinent.eu')) {
let paywall = document.querySelector('body.paywall, body.pw, body.softwall');
if (paywall)
paywall.classList.remove('paywall', 'pw', 'softwall');
let banners = document.querySelectorAll('div#fix-pw, div.disposableBanner')
removeDOMElement(...banners);
}
else if (matchDomain(['lejdd.fr', 'parismatch.com', 'public.fr'])) {
let poool_banner = document.querySelector('#poool-container');
let poool_widget = document.querySelector('#poool-widget-content');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.1.1.7"
"version": "3.1.1.8"
}

View file

@ -374,6 +374,7 @@
"*://*.ledauphine.com/*",
"*://*.ledevoir.com/*",
"*://*.lefigaro.fr/*",
"*://*.legrandcontinent.eu/*",
"*://*.lehighvalleylive.com/*",
"*://*.leidschdagblad.nl/*",
"*://*.lejdd.fr/*",
@ -747,5 +748,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.1.1.7"
"version": "3.1.1.8"
}

View file

@ -1123,6 +1123,10 @@ var defaultSites = {
domain: "lefigaro.fr",
allow_cookies: 1
},
"Le Grand Continent": {
domain: "legrandcontinent.eu",
allow_cookies: 1
},
"Le Journal du Dimanche": {
domain: "lejdd.fr",
allow_cookies: 1,

View file

@ -49,6 +49,12 @@
"add_ext_link_type": "archive.is",
"new_site": 1
},
"Le Grand Continent": {
"domain": "legrandcontinent.eu",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"body.paywall,body.pw,body.softwall\",\"rm_class\":\"paywall,pw,softwall\"},{\"cond\":\"div#fix-pw,div.disposableBanner\",\"rm_elem\":1}]",
"new_site": 1
},
"Libelle.nl": {
"domain": "libelle.nl",
"remove_cookies_select_drop": ["TID_ID"],