Remove Dvhn.nl & Mediahuis Belgie (fix obsolete)

This commit is contained in:
magnolia1234 2022-12-26 10:55:26 +01:00
parent 9c04d4f89d
commit faee30f4c7
5 changed files with 5 additions and 34 deletions

View file

@ -631,9 +631,6 @@ Grouped in options:\
[Humo](https://www.humo.be) -
[Parool](https://www.parool.nl) -
[Trouw](https://www.trouw.nl)\
*Mediahuis België (link to archive.is)* sites like\
[De Standaard](https://www.standaard.be) -
[Het Nieuwsblad](https://www.nieuwsblad.be)\
*Mediahuis Nederland Regional* sites like\
[Noordhollands Dagblad](https://www.noordhollandsdagblad.nl) -
[Haarlems Dagblad](https://www.haarlemsdagblad.nl) -
@ -641,7 +638,6 @@ Grouped in options:\
[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)
##### Norway

View file

@ -6,6 +6,7 @@ Add Republic.ru
Add TheVillage.ru
Add Wiwo.de
Add Wonderzine (ru)
Remove Dvhn.nl & Mediahuis Belgie (fix obsolete)
Update block general paywall script (Axate.io)
Update custom sites (block_js_inline)
Update custom sites (cs_code: remove/unhide in dom)

View file

@ -1952,25 +1952,11 @@ else if (matchDomain(['knack.be', 'kw.be', 'levif.be'])) {
}
}
else if (matchDomain(['lc.nl', 'dvhn.nl'])) {
else if (matchDomain(['lc.nl'])) {
let top_ad = document.querySelector('.top__ad');
removeDOMElement(top_ad);
}
else if (matchDomain(['nieuwsblad.be', 'standaard.be'])) {
let button_close = document.querySelector('span[data-testid="button-close"]');
if (button_close)
button_close.click();
let url = window.location.href;
let paywall = document.querySelector('div[data-cj-root="subscription-wall"]');
if (paywall) {
removeDOMElement(paywall);
let article = document.querySelector('footer, div[data-mht-block="main__article-paywall"]');
if (article)
article.insertBefore(archiveLink(url), article.firstChild);
}
}
else if (matchDomain(nl_mediahuis_region_domains)) {
window.setTimeout(function () {
let close_button = document.querySelector('button[data-testid="button-close"]');

View file

@ -186,7 +186,6 @@
"*://*.discovermagazine.com/*",
"*://*.dn.no/*",
"*://*.dna.fr/*",
"*://*.dvhn.nl/*",
"*://*.eastbaytimes.com/*",
"*://*.eastwest.eu/*",
"*://*.economictimes.com/*",
@ -433,7 +432,6 @@
"*://*.newyorker.com/*",
"*://*.niagarafallsreview.ca/*",
"*://*.nicematin.com/*",
"*://*.nieuwsblad.be/*",
"*://*.nikkei.com/*",
"*://*.nj.com/*",
"*://*.nknews.org/*",
@ -551,7 +549,6 @@
"*://*.spglobal.com/*",
"*://*.spiegel.de/*",
"*://*.sportico.com/*",
"*://*.standaard.be/*",
"*://*.standard.co.uk/*",
"*://*.standard.net.au/*",
"*://*.star-telegram.com/*",

View file

@ -1213,15 +1213,6 @@ var defaultSites = {
],
block_regex: /(js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js)/
},
"Mediahuis België": {
domain: "###_be_mediahuis",
group: [
"nieuwsblad.be",
"standaard.be"
],
allow_cookies: 1
},
"Mediahuis Nederland Regional": {
domain: "###_nl_mediahuis_region",
group: [
@ -1236,7 +1227,6 @@ var defaultSites = {
"Mediahuis Noord": {
domain: "###_nl_mediahuis_noord",
group: [
"dvhn.nl",
"lc.nl"
],
allow_cookies: 1,
@ -2382,6 +2372,7 @@ var no_nhst_media_domains = grouped_sites['###_no_nhst_media'];
var custom_flex_not = {
"###_ca_postmedia": ["canada.com", "canoe.com", "driving.ca"],
"###_de_madsack": ["madsack.de", "madsack-medien-campus.de"],
"###_nl_mediahuis_noord": ["dvhn.nl"],
"###_wp_leaky_paywall": ["griffithreview.com", "nknews.org", "thewirechina.com"],
"###_medium_custom": ["medium.com"],
"###_substack_custom": ["substack.com"],
@ -2402,6 +2393,6 @@ init_custom_flex_domains();
// sites with no fix (background)
var au_news_corp_nofix_domains = ['cairnspost.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'thechronicle.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be'];
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be', 'nieuwsblad.be', 'standaard.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', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'catalyst-journal.com', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'golem.de', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'suedkurier.de', 'swp.de', 'tagesanzeiger.ch', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, it_gedi_nofix_domains);
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'catalyst-journal.com', 'courrierinternational.com', 'dn.se', 'dvhn.nl', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'golem.de', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nationaljournal.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'politicopro.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'suedkurier.de', 'swp.de', 'tagesanzeiger.ch', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(au_news_corp_nofix_domains, be_mediahuis_nofix_domains, it_gedi_nofix_domains);