Add Deutscher Fachverlag Mediengruppe

This commit is contained in:
magnolia1234 2023-01-08 09:35:56 +01:00
parent e38591cd52
commit ae49439d08
7 changed files with 38 additions and 10 deletions

View file

@ -537,6 +537,8 @@ Grouped in options:\
[WirtschaftsWoche](https://www.wiwo.de)
Grouped in options:\
*[Deutscher Fachverlag Mediengruppe](https://www.dfv.de)* (opt-in to custom sites)
*Funke Mediengruppe* sites like (opt-in to custom sites for unlisted)\
[Berliner Morgenpost](https://www.morgenpost.de) -
[Braunschweiger Zeitung](https://www.braunschweiger-zeitung.de) -
@ -561,13 +563,13 @@ Grouped in options:\
[Neue Osnabrücker Zeitung](https://www.noz.de) -
[Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) -
[Schweriner Volkszeitung](https://www.svz.de)\
*Rheinische Post Mediengruppe* sites like
*Rheinische Post Mediengruppe* sites like\
[Aachener Nachrichten](https://www.aachener-nachrichten.de) -
[Aachener Zeitung](https://www.aachener-zeitung.de) -
[General-Anzeiger Bonn](https://ga.de) -
[Rheinische Post](https://rp-online.de) -
[Trierischer Volksfreund](http://www.volksfreund.de)\
*Westfälische Mediengruppe* sites like\
*Westfälische Mediengruppe* sites like\
[Münstersche Zeitung](https://www.muensterschezeitung.de) -
[Westfalen-Blatt](https://www.westfalen-blatt.de) -
[Westfälische Nachrichten](https://www.wn.de)

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Deutscher Fachverlag Mediengruppe (opt-in to custom sites)
Add LeCourrierDesStrateges.fr
Add McClatchy DC
Add Mundo Deportivo

View file

@ -435,10 +435,10 @@ else if (matchDomain('arcinfo.ch')) {
let paywall = document.querySelector('section#paywall-articles');
if (paywall && dompurify_loaded) {
removeDOMElement(paywall);
let url_id = window.location.href.split(/[\?#]/)[0].match(/\d+$/).pop();
let url_id = window.location.pathname.match(/\d+$/).pop();
let html = document.documentElement.outerHTML;
let og_url = document.querySelector('meta[name="og:url"][content]');
if (og_url && (og_url.content.match(/\d+$/).pop() !== url_id))
if (og_url && !og_url.content.endsWith(url_id))
window.location.reload(true);
let json;
if (html.includes('window.__NUXT__='))
@ -2773,6 +2773,8 @@ else if (matchDomain('bqprime.com')) {
elem.setAttribute('src', elem.getAttribute('data-src'));
}
}
let ads = document.querySelectorAll('.responsive-ad');
removeDOMElement(...ads);
}
else if (matchDomain('business-standard.com')) {

View file

@ -56,17 +56,18 @@ window.setTimeout(function () {
if (document.querySelector('link[href*="/thewest.com.au/"]'))
group = 'thewest.com.au';
}
} else if (hostname.endsWith('.ch')) {
if (document.querySelector('link[href*="/assets.static-chmedia.ch/"]'))
group = 'nzz.ch';
} else if (hostname.endsWith('.cl')) {
if (document.querySelector('meta[content*="/impresa.soy-chile.cl/"]'))
group = 'elmercurio.com';
} else if (hostname.endsWith('.de')) {
} else if (hostname.match(/\.(de|at|ch)$/) || matchDomain(['horizont.net', 'lebensmittelzeitung.net'])) {
if (document.querySelector('script[data-cmp-src*=".funkedigital.de/"], div#fmg-markenanker > a[href="https://www.funkemedien.de/"]'))
group = '###_de_funke_medien';
else if (document.querySelector('link[href*=".rndtech.de/"]'))
group = '###_de_madsack';
else if (document.querySelector('script[src*="/dfv.containers.piwik.pro/"]'))
group = '###_de_dfv_medien';
else if (document.querySelector('link[href*="/assets.static-chmedia.ch/"]'))
group = 'nzz.ch';
} else if (hostname.match(/\.(es|cat)$/) || matchDomain(['diariocordoba.com', 'elperiodicodearagon.com', 'elperiodicoextremadura.com', 'elperiodicomediterraneo.com', 'emporda.info'])) {
if (document.querySelector('link[href*="/estaticos-cdn."]'))
group = '###_es_epiberica';

View file

@ -20,6 +20,11 @@
"Brainly.com": {
"domain": "brainly.com"
},
"Brusselstimes.com": {
"allow_cookies": 1,
"block_regex": "\\.piano\\.io\\/xbuilder\\/experience\\/execute",
"domain": "brusselstimes.com"
},
"Businessnews.com.au": {
"allow_cookies": 1,
"domain": "businessnews.com.au",
@ -95,6 +100,11 @@
"domain": "euromoney.com",
"useragent": "googlebot"
},
"Fastcompany.com": {
"allow_cookies": 1,
"block_regex": "\\.tinypass\\.com",
"domain": "fastcompany.com"
},
"Finanz-szene.de": {
"allow_cookies": 1,
"domain": "finanz-szene.de",
@ -274,6 +284,11 @@
"block_regex": "\\.tinypass\\.com",
"domain": "sltrib.com"
},
"Spectator.org": {
"allow_cookies": 1,
"block_regex": "\\/spectator\\.org\\/.+\\/evolok",
"domain": "spectator.org"
},
"Speld.nl": {
"domain": "speld.nl"
},

View file

@ -720,5 +720,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.9.8"
"version": "2.9.9.9"
}

View file

@ -379,6 +379,12 @@ var defaultSites = {
domain: "tagesspiegel.de",
allow_cookies: 1
},
"Deutscher Fachverlag Mediengruppe": {
domain: "###_de_dfv_medien",
group: [],
allow_cookies: 1,
useragent: "googlebot"
},
"Diario Financiero": {
domain: "df.cl",
allow_cookies: 1,
@ -2254,7 +2260,7 @@ var defaultSites = {
domain: "piano.io",
allow_cookies: 1,
block_regex_general: /\.piano\.io\//,
excluded_domains: ["asia.nikkei.com", "japantimes.co.jp", "lkz.de"]
excluded_domains: ["asia.nikkei.com", "brusselstimes.com", "japantimes.co.jp", "lkz.de"]
},
"Pico.tools": {
domain: "pico.tools",
@ -2383,6 +2389,7 @@ var no_nhst_media_domains = grouped_sites['###_no_nhst_media'];
// custom domains (background)
var custom_flex_not = {
"###_ca_postmedia": ["canada.com", "canoe.com", "driving.ca"],
"###_de_dfv_medien": ["dfv.de"],
"###_de_madsack": ["madsack.de", "madsack-medien-campus.de"],
"###_nl_mediahuis_noord": ["dvhn.nl"],
"###_wp_leaky_paywall": ["griffithreview.com", "nknews.org", "thewirechina.com"],