From 938552568a74b6691cb3b9dfc5cf5ded1dda1092 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 22 Nov 2022 08:49:02 +0100 Subject: [PATCH] Remove LaVie.fr --- README.md | 1 - changelog.txt | 1 + contentScript.js | 8 -------- manifest.json | 3 +-- sites.js | 7 +------ 5 files changed, 3 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 49fd76e..c53a8fd 100644 --- a/README.md +++ b/README.md @@ -447,7 +447,6 @@ Grouped in options:\ [La Libre](https://www.lalibre.be) - [La Nouvelle République du Centre-Ouest](https://www.lanouvellerepublique.fr) - [La Tribune](https://www.latribune.fr) - -[La Vie](https://www.lavie.fr) - [Le Journal du Dimanche](https://lejdd.fr) - [Le Journal du Net](https://www.journaldunet.com) - [Le Nouvel Economiste](https://www.lenouveleconomiste.fr) - diff --git a/changelog.txt b/changelog.txt index c4e8ee1..e25c9ef 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,6 +3,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Haaretz.co.il & The Marker +Remove LaVie.fr * v2.9.4.0 (2022-11-20) Add CNBC (Pro text) diff --git a/contentScript.js b/contentScript.js index 8ba40f7..d9d0e14 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1353,14 +1353,6 @@ 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', 'public.fr'])) { let poool_banner = document.querySelector('#poool-container'); let poool_widget = document.querySelector('#poool-widget-content'); diff --git a/manifest.json b/manifest.json index 3d8d457..2823297 100644 --- a/manifest.json +++ b/manifest.json @@ -354,7 +354,6 @@ "*://*.lavanguardia.com/*", "*://*.lavenir.net/*", "*://*.laverdad.es/*", - "*://*.lavie.fr/*", "*://*.lavoixdunord.fr/*", "*://*.lavoz.com.ar/*", "*://*.lavozdigital.es/*", @@ -732,5 +731,5 @@ "*://gcm.omerlocdn.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "2.9.4.1" + "version": "2.9.4.2" } diff --git a/sites.js b/sites.js index f464fc5..311b38f 100644 --- a/sites.js +++ b/sites.js @@ -1065,11 +1065,6 @@ var defaultSites = { allow_cookies: 1, block_regex: /(\.evolok\.net\/|\.lavanguardia\.com\/(js\/)?godo-)/ }, - "La Vie": { - domain: "lavie.fr", - allow_cookies: 1, - block_regex: /\.poool\.fr\// - }, "La Voz del Interior": { domain: "lavoz.com.ar", allow_cookies: 1, @@ -2412,4 +2407,4 @@ init_custom_domains(); // sites with no fix (background) var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be']; var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'lastampa.it', 'limesonline.com']; -var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'ouest-france.fr', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'swp.de', 'tagesanzeiger.ch', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains); +var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.no', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavie.fr', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'ouest-france.fr', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'swp.de', 'tagesanzeiger.ch', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains);