Add Funke Mediengruppe (Germany)

merge-requests/1/head
magnolia1234 4 years ago
parent 4db791c023
commit c6789b274a

@ -216,7 +216,17 @@ Groupe Rossel sites (grouped in options) like
##### Germany/Austria
[Deutsche Wirtschafts Nachrichten](https://deutsche-wirtschafts-nachrichten.de) -
[Die Zeit](https://www.zeit.de) -
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
[Frankfurter Allgemeine Zeitung](https://www.faz.net)
Funke Mediengruppe sites (grouped in options) like
[Berliner Morgenpost](https://www.morgenpost.de) -
[Braunschweiger Zeitung](https://www.braunschweiger-zeitung.de) -
[Hamburger Abendblatt](https://www.abendblatt.de) -
[Neue Ruhr Zeitung](https://www.nrz.de) -
[Ostthüringer Zeitung](https://www.otz.de) -
[Thüringer Allgemeine](https://www.thueringer-allgemeine.de) -
[Westdeutsche Allgemeine Zeitung](https://www.waz.de) -
[Westfalenpost](https://www.wp.de) -
[Westfälische Rundschau](https://www.wr.de)
[Handelsblatt](https://www.handelsblatt.com) -
[Kurier.at](https://kurier.at)
Madsack Mediengruppe sites (grouped in options) like
@ -227,12 +237,8 @@ Madsack Mediengruppe sites (grouped in options) like
[Märkische Allgemeine](https://www.maz-online.de) -
[Neue Presse (Hannover)](https://www.neuepresse.de) -
[Ostsee-Zeitung](https://www.ostsee-zeitung.de)
[Neue Ruhr Zeitung](https://www.nrz.de) -
[Sächsische Zeitung](https://www.saechsische.de) -
[Süddeutsche Zeitung](https://www.sueddeutsche.de) -
[Westdeutsche Allgemeine Zeitung](https://www.waz.de) -
[Westfalenpost](https://www.wp.de) -
[Westfälische Rundschau](https://www.wr.de) -
[WirtschaftsWoche](https://www.wiwo.de)
##### Italy

@ -76,7 +76,6 @@ var allow_cookies_default = [
'nationalreview.com',
'newrepublic.com',
'noordhollandsdagblad.nl',
'nrz.de',
'nybooks.com',
'nytimes.com',
'nzz.ch',
@ -100,11 +99,8 @@ var allow_cookies_default = [
'timeshighereducation.com',
'variety.com',
'washingtonpost.com',
'waz.de',
'wiwo.de',
'worldpoliticsreview.com',
'wp.de',
'wr.de',
'zeit.de',
];
var allow_cookies = allow_cookies_default.slice();
@ -246,7 +242,6 @@ var blockedRegexes = {
'newrepublic.com': /.+\.onecount\.net\/js\/.+/,
'newsweek.com': /js\.pelcro\.com\/.+/,
'newyorker.com': /.+\.newyorker\.com\/verso\/static\/presenter-articles.+\.js/,
'nrz.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
'nytimes.com': /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js)/,
'quotidiano.net': /cdn\.tinypass\.com\/.+/,
'repubblica.it': /scripts\.repubblica\.it\/pw\/pw\.js.+/,
@ -277,9 +272,6 @@ var blockedRegexes = {
'variety.com': /cdn\.cxense\.com\/.+/,
'washingtonpost.com': /.+\.washingtonpost\.com\/.+\/pwapi-proxy\.min\.js/,
'watoday.com.au': /cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js/,
'waz.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
'wp.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
'wr.de': /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/,
'wsj.com': /(cdn\.ampproject\.org\/v\d\/amp-access-.+\.js|cdn\.cxense\.com\/.+)/
};
@ -287,6 +279,7 @@ const ad_region_domains = ['bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.
const au_comm_media_domains = ['bendigoadvertiser.com.au', 'bordermail.com.au', 'canberratimes.com.au', 'centralwesterndaily.com.au', 'dailyadvertiser.com.au', 'dailyliberal.com.au', 'examiner.com.au', 'illawarramercury.com.au', 'newcastleherald.com.au', 'northerndailyleader.com.au', 'portnews.com.au', 'standard.net.au', 'theadvocate.com.au', 'thecourier.com.au', 'westernadvocate.com.au'];
const au_news_corp_domains = ['adelaidenow.com.au', 'cairnspost.com.au', 'couriermail.com.au', 'dailytelegraph.com.au', 'geelongadvertiser.com.au', 'goldcoastbulletin.com.au', 'heraldsun.com.au', 'ntnews.com.au', 'theaustralian.com.au', 'themercury.com.au', 'townsvillebulletin.com.au', 'weeklytimesnow.com.au'];
const au_prov_news_domains = ['news-mail.com.au', 'frasercoastchronicle.com.au', 'gladstoneobserver.com.au', 'dailyexaminer.com.au', 'dailymercury.com.au', 'themorningbulletin.com.au', 'sunshinecoastdaily.com.au', 'gympietimes.com.au', 'northernstar.com.au', 'qt.com.au', 'thechronicle.com.au', 'warwickdailynews.com.au'];
const de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'otz.de', 'thueringer-allgemeine.de', 'waz.de', 'wp.de', 'wr.de'];
const de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
const es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'laverdad.es', 'lavozdigital.es'];
const fi_alma_talent_domains = ['arvopaperi.fi', 'kauppalehti.fi', 'marmai.fi', 'mediuutiset.fi', 'mikrobitti.fi', 'talouselama.fi', 'tekniikkatalous.fi', 'tivi.fi', 'uusisuomi.fi'];
@ -307,7 +300,7 @@ const userAgentMobileB = "Chrome/80.0.3987.92 Mobile Safari/537.36 (compatible;
var enabledSites = [];
var disabledSites = [];
var defaultSites_grouped_domains = Object.values(defaultSites);
var defaultSites_domains = defaultSites_grouped_domains.concat(ad_region_domains, au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, de_madsack_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, ilmessaggero_domains, nymag_domains);
var defaultSites_domains = defaultSites_grouped_domains.concat(ad_region_domains, au_comm_media_domains, au_news_corp_domains, au_prov_news_domains, de_funke_media_domains, de_madsack_domains, es_grupo_vocento_domains, fi_alma_talent_domains, fr_be_groupe_rossel_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, ilmessaggero_domains, nymag_domains);
var customSites = {};
var customSites_domains = [];
@ -347,6 +340,7 @@ var grouped_sites = {
'###_au_comm_media': au_comm_media_domains,
'###_au_news_corp': au_news_corp_domains,
'###_au_prov_news': au_prov_news_domains,
'###_de_funke_medien': de_funke_media_domains,
'###_de_madsack': de_madsack_domains,
'###_es_grupo_vocento': es_grupo_vocento_domains,
'###_fi_alma_talent': fi_alma_talent_domains,
@ -385,6 +379,10 @@ function add_grouped_sites(init_rules) {
allow_cookies.push(domain);
use_google_bot.push(domain);
}
for (let domain of de_funke_media_domains) {
allow_cookies.push(domain);
blockedRegexes[domain] = /(cdn\.cxense\.com\/.+|cdn\.tinypass\.com\/.+)/;
}
for (let domain of es_grupo_vocento_domains) {
allow_cookies.push(domain);
blockedRegexes[domain] = /cdn\.ampproject\.org\/v\d\/amp-(access|subscriptions)-.+\.js/;

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Funke Mediengruppe (Germany)
Add Groupe EBRA (France)
Add Groupe La Dépêche (France)
Add Madsack Mediengruppe (Germany)

@ -3,13 +3,15 @@ var ext_api = (typeof browser === 'object') ? browser : chrome;
var domain;
var csDone = false;
// clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['charliehebdo.fr', 'elmundo.es', 'kurier.at', 'nknews.org', 'nrz.de', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk', 'waz.de', 'wp.de', 'wr.de'];
var de_funke_media_domains = ['abendblatt.de', 'braunschweiger-zeitung.de', 'morgenpost.de', 'nrz.de', 'waz.de', 'wp.de', 'wr.de'];
var de_madsack_domains = ['haz.de', 'kn-online.de', 'ln-online.de', 'lvz.de', 'maz-online.de', 'neuepresse.de', 'ostsee-zeitung.de'];
var es_grupo_vocento_domains = ['diariosur.es', 'diariovasco.com', 'elcomercio.es', 'elcorreo.com', 'eldiariomontanes.es', 'elnortedecastilla.es', 'hoy.es', 'ideal.es', 'larioja.com', 'laverdad.es', 'lavozdigital.es'];
var fr_groupe_ebra_domains = ['bienpublic.com', 'dna.fr', 'estrepublicain.fr', 'lalsace.fr', 'ledauphine.com', 'lejsl.com', 'leprogres.fr', 'republicain-lorrain.fr', 'vosgesmatin.fr'];
var fr_groupe_la_depeche_domains = ['centrepresseaveyron.fr', 'ladepeche.fr', 'lindependant.fr', 'midi-olympique.fr', 'midilibre.fr', 'nrpyrenees.fr', 'petitbleu.fr'];
arr_localstorage_hold = arr_localstorage_hold.concat(es_grupo_vocento_domains);
// clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['charliehebdo.fr', 'elmundo.es', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'];
arr_localstorage_hold = arr_localstorage_hold.concat(de_funke_media_domains, es_grupo_vocento_domains);
if (!matchDomain(arr_localstorage_hold)){
window.localStorage.clear();
}
@ -1844,7 +1846,7 @@ else if ((domain = matchDomain(fr_groupe_ebra_domains)) && window.location.href.
}
}
else if (matchDomain(["nrz.de", "waz.de", "wp.de", "wr.de"])) {
else if (matchDomain(de_funke_media_domains)) {
let obfuscated_elems = document.querySelectorAll('.obfuscated');
let parser = new DOMParser();
for (let obfuscated_elem of obfuscated_elems) {

@ -44,6 +44,7 @@
"webRequest",
"webRequestBlocking",
"*://*.abc.es/*",
"*://*.abendblatt.de/*",
"*://*.ad.nl/*",
"*://*.adelaidenow.com.au/*",
"*://*.adweek.com/*",
@ -67,6 +68,7 @@
"*://*.bndestem.nl/*",
"*://*.bordermail.com.au/*",
"*://*.bostonglobe.com/*",
"*://*.braunschweiger-zeitung.de/*",
"*://*.brisbanetimes.com.au/*",
"*://*.britannica.com/*",
"*://*.business-standard.com/*",
@ -184,8 +186,8 @@
"*://*.journaldunet.com/*",
"*://*.journalnow.com/*",
"*://*.kauppalehti.fi/*",
"*://*.knack.be/*",
"*://*.kn-online.de/*",
"*://*.knack.be/*",
"*://*.kurier.at/*",
"*://*.la-croix.com/*",
"*://*.labusinessjournal.com/*",
@ -241,6 +243,7 @@
"*://*.midilibre.fr/*",
"*://*.mikrobitti.fi/*",
"*://*.modernhealthcare.com/*",
"*://*.morgenpost.de/*",
"*://*.mv-voice.com/*",
"*://*.nationalgeographic.com/*",
"*://*.nationalpost.com/*",
@ -270,6 +273,7 @@
"*://*.ocregister.com/*",
"*://*.orlandosentinel.com/*",
"*://*.ostsee-zeitung.de/*",
"*://*.otz.de/*",
"*://*.paloaltoonline.com/*",
"*://*.paris-normandie.fr/*",
"*://*.parool.nl/*",
@ -343,6 +347,7 @@
"*://*.thestar.com/*",
"*://*.thetimes.co.uk/*",
"*://*.thewest.com.au/*",
"*://*.thueringer-allgemeine.de/*",
"*://*.tijd.be/*",
"*://*.timeshighereducation.com/*",
"*://*.tivi.fi/*",
@ -402,5 +407,5 @@
"*://*.repstatic.it/*",
"*://*.userzoom.com/*"
],
"version": "1.9.8.4"
"version": "1.9.8.5"
}

@ -64,6 +64,7 @@ var defaultSites =
"Foreign Policy": "foreignpolicy.com",
"Fortune": "fortune.com",
"Frankfurter Allgemeine Zeitung": "faz.net",
"Funke Mediengruppe": "###_de_funke_medien",
"Gazet van Antwerpen": "gva.be",
"GElocal.it": "gelocal.it",
"Gestión": "gestion.pe",
@ -129,7 +130,6 @@ var defaultSites =
"National Post": "nationalpost.com",
"National Review": "nationalreview.com",
"Nautilus": "nautil.us",
"Neue Ruhr Zeitung": "nrz.de",
"Neue Zürcher Zeitung": "nzz.ch",
"New York Magazine (+ Grub Street, The Cut & Vulture)": "nymag.com",
"New Zealand Herald": "nzherald.co.nz",
@ -220,9 +220,6 @@ var defaultSites =
"Variety": "variety.com",
"Volkskrant": "volkskrant.nl",
"WAtoday": "watoday.com.au",
"Westdeutsche Allgemeine Zeitung": "waz.de",
"Westfalenpost": "wp.de",
"Westfälische Rundschau": "wr.de",
"Winston-Salem Journal": "journalnow.com",
"Wired": "wired.com",
"WirtschaftsWoche": "wiwo.de",

@ -18,9 +18,8 @@ fetch(proxyurl + manifest_new, { headers: { "Content-Type": "application/json",
var version_len = (installType === 'development') ? 7 : 5;
var version_new = json['version'];
if (version_new.substring(0, version_len) > manifestData.version.substring(0, version_len)) {
versionString_new.appendChild(document.createTextNode('* '));
anchorEl = document.createElement('a');
anchorEl.text = 'New release v' + version_new;
anchorEl.innerText = 'New release v' + version_new;
if (manifestData.applications.gecko.id.includes('magnolia')) {
if (installType === 'development')
anchorEl.href = 'https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean';
@ -30,7 +29,6 @@ fetch(proxyurl + manifest_new, { headers: { "Content-Type": "application/json",
anchorEl.href = 'https://addons.mozilla.org/en-US/firefox/addon/bypass-paywalls-clean';
anchorEl.target = '_blank';
versionString_new.appendChild(anchorEl);
versionString_new.appendChild(document.createTextNode(' *'));
if (manifestData.name.includes('(lp')) {
let par = document.createElement('p');
par.innerHTML = "Limited permissions version is no longer updated (check GitLab)";

Loading…
Cancel
Save