From d00913b8b35cd1d212f0c164aae75b692c7dea78 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 24 Feb 2024 08:49:44 +0100 Subject: [PATCH] Remove Mediahuis Nederland Regional --- README.md | 6 ------ changelog.txt | 1 + contentScript.js | 16 ---------------- custom/sites_custom.json | 5 +++++ manifest.json | 5 ----- sites.js | 15 ++------------- 6 files changed, 8 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 07db692..ce5b500 100644 --- a/README.md +++ b/README.md @@ -740,12 +740,6 @@ Grouped in options:\ [De Standaard](https://www.standaard.be) - [Het Belang van Limburg](https://www.hbvl.be) - [Het Nieuwsblad](https://www.nieuwsblad.be)\ -*Mediahuis Nederland Regional* sites like\ -[Noordhollands Dagblad](https://www.noordhollandsdagblad.nl) - -[Haarlems Dagblad](https://www.haarlemsdagblad.nl) - -[Leidsch Dagblad](https://www.leidschdagblad.nl) - -[IJmuider Courant](https://www.ijmuidercourant.nl) - -[De Gooi- en Eemlander](https://www.gooieneemlander.nl)\ *Mediahuis Noord* sites like (opt-in to custom sites for unlisted)\ [Dagblad van het Noorden](https://www.dvhn.nl) - [Leeuwarder Courant](https://www.lc.nl)\ diff --git a/changelog.txt b/changelog.txt index f57067d..ef5b862 100644 --- a/changelog.txt +++ b/changelog.txt @@ -10,6 +10,7 @@ Add Vogue.co.uk (Conde Nast) Remove Arkansas Democrat-Gazette (fix obsolete) Remove EWmagazine.nl (fix obsolete) Remove Groupe Rossel (fix obsolete) +Remove Mediahuis Nederland Regional (fix obsolete) Fix Epoch.org.il (css) Fix Haaretz Group (disable bot) Fix Humanite.fr (json) diff --git a/contentScript.js b/contentScript.js index 0c194d7..b89fde8 100644 --- a/contentScript.js +++ b/contentScript.js @@ -33,7 +33,6 @@ var it_quotidiano_domains = ['ilgiorno.it', 'ilrestodelcarlino.it', 'iltelegrafo var medium_custom_domains = ['betterprogramming.pub', 'towardsdatascience.com']; 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', 'flair.nl', 'humo.be', 'libelle.nl', 'margriet.nl', 'parool.nl', 'trouw.nl', 'volkskrant.nl']; -var nl_mediahuis_region_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl']; var no_nhst_media_domains = ['europower.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 = ['epaper.indiatimes.com', 'timesofindia.com', 'timesofindia.indiatimes.com']; @@ -2676,21 +2675,6 @@ else if (matchDomain(nl_dpg_media_domains)) { removeDOMElement(...banners, ...paywall); } -else if (matchDomain(nl_mediahuis_region_domains)) { - func_post = function () { - let lazy_images = document.querySelectorAll('img[loading="lazy"][style]'); - for (let elem of lazy_images) - elem.removeAttribute('style'); - } - window.setTimeout(function () { - let close_button = document.querySelector('button[data-testid="button-close"]'); - if (close_button) - close_button.click(); - let url = window.location.href; - getArchive(url, 'div[data-auth-root="paywall"]', '', 'div[data-mht-block="article-detail__article-main"]'); - }, 500); -} - else if (matchDomain('nrc.nl')) { let banners = document.querySelectorAll('div[id$="modal__overlay"], div.header__subscribe-bar, div.banner'); removeDOMElement(...banners); diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 2be5de6..f0e0947 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -394,6 +394,11 @@ "domain": "keymilitary.com", "useragent": "googlebot" }, + "Kristeligt-dagblad.dk": { + "allow_cookies": 1, + "domain": "kristeligt-dagblad.dk", + "useragent": "googlebot" + }, "Lagaceta.com.ar": { "allow_cookies": 1, "block_regex": "\\.lagaceta\\.com\\.ar\\/ajax\\/getInfo", diff --git a/manifest.json b/manifest.json index 9c9d77c..d97feae 100644 --- a/manifest.json +++ b/manifest.json @@ -303,14 +303,12 @@ "*://*.globo.com/*", "*://*.goldcoastbulletin.com.au/*", "*://*.goodhousekeeping.com/*", - "*://*.gooieneemlander.nl/*", "*://*.gq.com/*", "*://*.granta.com/*", "*://*.groene.nl/*", "*://*.grubstreet.com/*", "*://*.haaretz.co.il/*", "*://*.haaretz.com/*", - "*://*.haarlemsdagblad.nl/*", "*://*.handelszeitung.ch/*", "*://*.harpers.org/*", "*://*.harpersbazaar.com/*", @@ -330,7 +328,6 @@ "*://*.humanite.fr/*", "*://*.humo.be/*", "*://*.ideal.es/*", - "*://*.ijmuidercourant.nl/*", "*://*.ikz-online.de/*", "*://*.ilfattoquotidiano.it/*", "*://*.ilfoglio.it/*", @@ -428,7 +425,6 @@ "*://*.lefigaro.fr/*", "*://*.legrandcontinent.eu/*", "*://*.lehighvalleylive.com/*", - "*://*.leidschdagblad.nl/*", "*://*.lejdd.fr/*", "*://*.lemagit.fr/*", "*://*.lenouveleconomiste.fr/*", @@ -513,7 +509,6 @@ "*://*.nikkei.com/*", "*://*.nj.com/*", "*://*.nola.com/*", - "*://*.noordhollandsdagblad.nl/*", "*://*.northerndailyleader.com.au/*", "*://*.northjersey.com/*", "*://*.nouvelobs.com/*", diff --git a/sites.js b/sites.js index 119be1c..fd74b9a 100644 --- a/sites.js +++ b/sites.js @@ -1621,18 +1621,6 @@ var defaultSites = { allow_cookies: 1, cs_dompurify: 1 }, - "Mediahuis Nederland Regional (fetch from archive.is)": { - domain: "###_nl_mediahuis_region", - group: [ - "gooieneemlander.nl", - "haarlemsdagblad.nl", - "ijmuidercourant.nl", - "leidschdagblad.nl", - "noordhollandsdagblad.nl" - ], - allow_cookies: 1, - cs_dompurify: 1 - }, "Mediahuis Noord (+ regional; opt-in to custom sites)": { domain: "###_nl_mediahuis_noord", group: [ @@ -3061,4 +3049,5 @@ var fr_be_groupe_rossel_nofix_domains = ['aisnenouvelle.fr', 'courrier-picard.fr var fr_groupe_ebra_nofix_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr']; var fr_indigo_nofix_domains = ['africaintelligence.com', 'africaintelligence.fr', 'glitz.paris', 'intelligenceonline.com', 'intelligenceonline.fr', 'lalettre.fr']; var it_gedi_nofix_domains = ['gelocal.it', 'limesonline.com']; -var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains); +var nl_mediahuis_region_nofix_domains = ['gooieneemlander.nl', 'haarlemsdagblad.nl', 'ijmuidercourant.nl', 'leidschdagblad.nl', 'noordhollandsdagblad.nl']; +var nofix_sites = ['11freunde.de', 'aamulehti.fi', 'abendblatt.de', 'aftenposten.no', 'aftonbladet.se', 'allgaeuer-zeitung.de', 'arkansasonline.com', 'asahi.com', 'asiatimes.com', 'autosport.com', 'aviationweek.com', 'badische-zeitung.de', 'bhaskar.com', 'bloomberglaw.com', 'bloombergtax.com', 'bnef.com', 'bnn.de', 'borsen.dk', 'businessinsider.de', 'businessinsider.jp', 'businesslive.co.za', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'catalyst-journal.com', 'chegg.com', 'codesports.com.au', 'compactmag.com', 'courrierinternational.com', 'coursehero.com', 'deutsche-wirtschafts-nachrichten.de', 'die-glocke.de', 'dn.no', 'elordenmundial.com', 'entrepreneur.com', 'epw.in', 'ewmagazine.nl', 'falter.at', 'finance.si', 'franc-tireur.fr', 'ftchinese.com', 'ftchineselive.com', 'gamestar.de', 'geo.de', 'golem.de', 'gp.se', 'gva.be', 'handelsblatt.com', 'hbrarabic.com', 'hbrchina.org', 'hbrfrance.fr', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'information.dk', 'investors.com', 'iltalehti.fi', 'jacobin.com', 'jeuneafrique.com', 'jungefreiheit.de', 'kleinezeitung.at', 'laverita.info', 'lavie.fr', 'lavozdegalicia.es', 'law360.co.uk', 'law360.com', 'le1hebdo.fr', 'leconomiste.com', 'lefilmfrancais.com', 'lemonde.fr', 'lequipe.fr', 'lesjours.fr', 'letemps.ch', 'liberation.fr', 'libertiesjournal.com', 'main-echo.de', 'mainpost.de', 'manager-magazin.de', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mittelbayerische.de', 'monde-diplomatique.fr', 'mondediplo.com', 'money.it', 'moneycontrol.com', 'moodys.com', 'morningstar.com', 'motorsport.com', 'moz.de', 'nachrichten.at', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'newcriterion.com', 'news24.com', 'newslaundry.com', 'nn.de', 'nwzonline.de', 'observador.pt', 'on3.com', 'ouest-france.fr', 'philonomist.com', 'pnp.de', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'quillette.com', 'rbc.ru', 'republic.ru', 'rheinpfalz.de', 'risk.net', 'rnz.de', 'saechsische.de', 'sciencedirect.com', 'springer.com', 'statnews.com', 'stern.de', 'stimme.de', 'streetinsider.com', 'substack.com', 'suedkurier.de', 'swp.de', 'taxation.co.uk', 'taxjournal.com', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'theinitium.com', 'themorningcontext.com', 'theparisreview.org', 'thestar.com.my', 'thewirechina.com', 'timeslive.co.za', 'weltwoche.ch', 'weltwoche.de', 'wissenschaft.de', 'worldpoliticsreview.com', 'wz.de', 'zaobao.com.sg'].concat(de_funke_medien_nofix_domains, de_rp_aachen_medien_nofix_domains, de_westfalen_medien_nofix_domains, fr_be_groupe_rossel_nofix_domains, fr_groupe_ebra_nofix_domains, fr_indigo_nofix_domains, it_gedi_nofix_domains, nl_mediahuis_region_nofix_domains);