From 1864a300095d1ace49a46f166f5747c96e100e0a Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 25 Mar 2023 09:07:05 +0100 Subject: [PATCH] Add Flair.nl, Libelle.nl & Margriet.nl --- README.md | 9 ++++++--- changelog.txt | 3 +++ contentScript.js | 2 +- custom/manifest.json | 2 +- manifest.json | 5 ++++- sites.js | 5 ++++- sites_updated.json | 17 ++++++++++++++++- 7 files changed, 35 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e1629b5..f229216 100644 --- a/README.md +++ b/README.md @@ -522,7 +522,7 @@ Grouped in options:\ [Sud Ouest](https://www.sudouest.fr)\ *Roularta Media Group* sites like\ [Femmes d'Aujourd'hui](https://www.femmesdaujourdhui.be) - -[Flair](https://www.flair.be/fr) - +[Flair.be](https://www.flair.be/fr) - [Le Vif](https://www.levif.be) ##### Germany/Austria @@ -652,7 +652,10 @@ Grouped in options:\ *DPG Media (not ADR)* sites like\ [De Morgen](https://www.demorgen.be) - [De Volkskrant](https://www.volkskrant.nl) - +[Flair.nl](https://www.flair.nl) - [Humo](https://www.humo.be) - +[Libelle.nl](https://www.libelle.nl) - +[Margriet](https://www.margriet.nl) - [Parool](https://www.parool.nl) - [Trouw](https://www.trouw.nl)\ *Mediahuis Nederland Regional* sites like\ @@ -666,10 +669,10 @@ Grouped in options:\ [Leeuwarder Courant](https://www.lc.nl)\ *Roularta Media Group* sites like\ [Artsenkrant](https://www.artsenkrant.com) - -[Flair](https://www.flair.be/nl) - +[Flair.be](https://www.flair.be/nl) - [Knack](https://www.knack.be) - [Krant van West-Vlaanderen](https://kw.be) - -[Libelle](https://www.libelle.be) +[Libelle.be](https://www.libelle.be) ##### Norway [DN](https://www.dn.no)\ diff --git a/changelog.txt b/changelog.txt index 4f3c985..1b6914c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -3,7 +3,10 @@ Changelog Bypass Paywalls Clean - Firefox Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases Post-release +Add Flair.nl Add Le Figaro (link to archive.is) +Add Libelle.nl +Add Margriet.nl Add Revue Conflits Remove Cellesche Zeitung (fix obsolete) Fix Automobilwoche.de (js) diff --git a/contentScript.js b/contentScript.js index c4445a9..ed7e3d0 100644 --- a/contentScript.js +++ b/contentScript.js @@ -27,7 +27,7 @@ var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafo var medium_custom_domains = ['betterprogramming.pub', 'towardsdatascience.com']; var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl']; var nl_dpg_adr_domains = ['ad.nl', 'bd.nl', 'bndestem.nl', 'destentor.nl', 'ed.nl', 'gelderlander.nl', 'pzc.nl', 'tubantia.nl']; -var nl_dpg_media_domains = ['demorgen.be', 'humo.be', 'parool.nl', 'trouw.nl', 'volkskrant.nl']; +var nl_dpg_media_domains = ['demorgen.be', 'flair.nl', 'humo.be', 'libelle.nl', 'margriet.nl', 'parool.nl', 'trouw.nl', 'volkskrant.nl']; var no_nhst_media_domains = ['europower-energi.no', 'fiskeribladet.no', 'intrafish.com', 'intrafish.no', 'rechargenews.com', 'tradewindsnews.com', 'upstreamonline.com']; var pe_grupo_elcomercio_domains = ['diariocorreo.pe', 'elcomercio.pe', 'gestion.pe']; var timesofindia_domains = ['timesofindia.com', 'timesofindia.indiatimes.com']; diff --git a/custom/manifest.json b/custom/manifest.json index 69176ab..3035942 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.1.0.7" + "version": "3.1.0.8" } diff --git a/manifest.json b/manifest.json index d573755..dd09760 100644 --- a/manifest.json +++ b/manifest.json @@ -245,6 +245,7 @@ "*://*.firstthings.com/*", "*://*.fiskeribladet.no/*", "*://*.flair.be/*", + "*://*.flair.nl/*", "*://*.fnlondon.com/*", "*://*.forbes.com/*", "*://*.foreignaffairs.com/*", @@ -391,6 +392,7 @@ "*://*.levif.be/*", "*://*.lexpress.fr/*", "*://*.libelle.be/*", + "*://*.libelle.nl/*", "*://*.liberation-champagne.fr/*", "*://*.limburger.nl/*", "*://*.lindependant.fr/*", @@ -408,6 +410,7 @@ "*://*.mainichi.jp/*", "*://*.mallorcazeitung.es/*", "*://*.marca.com/*", + "*://*.margriet.nl/*", "*://*.marianne.net/*", "*://*.marketwatch.com/*", "*://*.masslive.com/*", @@ -741,5 +744,5 @@ "*://*.wallkit.net/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.1.0.7" + "version": "3.1.0.8" } diff --git a/sites.js b/sites.js index ed3bfaa..116cf9b 100644 --- a/sites.js +++ b/sites.js @@ -440,13 +440,16 @@ var defaultSites = { domain: "###_nl_dpg_media", group: [ "demorgen.be", + "flair.nl", "humo.be", + "libelle.nl", + "margriet.nl", "parool.nl", "trouw.nl", "volkskrant.nl" ], remove_cookies_select_drop: ["TID_ID"], - block_regex: "(\\.{domain}\\/temptation\\/resolve|temptation\\.{domain}\\/temptation\.js)" + block_regex: "(\\.{domain}\\/temptation\\/resolve|temptation\\.{domain}\\/temptation\\.js)" }, "Eastwest.eu": { domain: "eastwest.eu", diff --git a/sites_updated.json b/sites_updated.json index b5337e5..c2086a4 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -9,6 +9,11 @@ "allow_cookies": 1, "useragent": "googlebot" }, + "Flair.nl": { + "domain": "flair.nl", + "remove_cookies_select_drop": ["TID_ID"], + "block_regex": "(\\.flair\\.nl\\/temptation\\/resolve|temptation\\.flair\\.nl\\/temptation\\.js)" + }, "Haaretz English": { "domain": "haaretz.com", "allow_cookies": 1, @@ -21,10 +26,20 @@ "Le Figaro (link to archive.is)": { "domain": "lefigaro.fr", "allow_cookies": 1, - "add_ext_link": "div#fig-premium-paywall", + "add_ext_link": "div#fig-premium-paywall|article", "add_ext_link_type": "archive.is", "new_site": 1 }, + "Libelle.nl": { + "domain": "libelle.nl", + "remove_cookies_select_drop": ["TID_ID"], + "block_regex": "(\\.libelle\\.nl\\/temptation\\/resolve|temptation\\.libelle\\.nl\\/temptation\\.js)" + }, + "Margriet.nl": { + "domain": "margriet.nl", + "remove_cookies_select_drop": ["TID_ID"], + "block_regex": "(\\.margriet\\.nl\\/temptation\\/resolve|temptation\\.margriet\\.nl\\/temptation\\.js)" + }, "Revue Conflits": { "domain": "revueconflits.com", "allow_cookies": 1,