mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:07:47 +01:00
Remove Aachener Nachrichten/Zeitung (obsolete)
This commit is contained in:
parent
0517949e6b
commit
086071b745
5 changed files with 4 additions and 31 deletions
|
@ -382,8 +382,6 @@ Grouped in options:\
|
|||
[SudInfo](https://www.sudinfo.be)
|
||||
|
||||
##### Germany/Austria
|
||||
[Aachener Nachrichten](https://www.aachener-nachrichten.de) -
|
||||
[Aachener Zeitung](https://www.aachener-zeitung.de) -
|
||||
[Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) -
|
||||
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
|
||||
[Berliner Zeitung](https://www.berliner-zeitung.de) -
|
||||
|
|
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
|||
Post-release
|
||||
Add Mainichi Shimbun (Japan)
|
||||
Add TownNews sites (local USA; opt-in to custom sites)
|
||||
Remove Aachener Nachrichten/Zeitung (obsolete)
|
||||
Remove De Tijd & L'Echo (obsolete)
|
||||
Fix Bloomberg (quotes)
|
||||
Fix McClatchy Group (amp-redirect & disable)
|
||||
|
|
|
@ -30,7 +30,7 @@ var usa_mng_domains = ['denverpost.com', 'eastbaytimes.com', 'mercurynews.com'
|
|||
var usa_tribune_domains = ['baltimoresun.com', 'chicagotribune.com', 'courant.com', 'dailypress.com', 'mcall.com', 'nydailynews.com', 'orlandosentinel.com', 'pilotonline.com', 'sun-sentinel.com'];
|
||||
|
||||
// clean local storage of sites (with an exemption for hold-list)
|
||||
var arr_localstorage_hold = ['aachener-nachrichten.de', 'aachener-zeitung.de', 'allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'elespanol.com', 'estadao.com.br', 'fortune.com', 'ilfoglio.it', 'inc42.com', 'kurier.at', 'nknews.org', 'ruhrnachrichten.de', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'thehindu.com', 'thetimes.co.uk', 'wsj.com'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'barrons.com', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'corriere.it', 'elespanol.com', 'estadao.com.br', 'fortune.com', 'ilfoglio.it', 'inc42.com', 'kurier.at', 'nknews.org', 'ruhrnachrichten.de', 'scmp.com', 'seekingalpha.com', 'telegraph.co.uk', 'thehindu.com', 'thetimes.co.uk', 'wsj.com'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, fr_groupe_nice_matin_domains, it_quotidiano_domains, no_nhst_media_domains, usa_hearst_comm_domains);
|
||||
if (!matchDomain(arr_localstorage_hold)) {
|
||||
window.localStorage.clear();
|
||||
}
|
||||
|
@ -340,21 +340,7 @@ else {
|
|||
|
||||
} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net', 'handelsblatt.com'])) {//germany/austria/switzerland - ch
|
||||
|
||||
if (matchDomain(['aachener-nachrichten.de', 'aachener-zeitung.de'])) {
|
||||
let url = window.location.href;
|
||||
if (url.includes('?output=amp')) {
|
||||
amp_unhide_subscr_section('amp-ad, amp-embed');
|
||||
} else {
|
||||
let paywall = document.querySelector('.park-article-paywall, .text-blurred');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall && amphtml) {
|
||||
removeDOMElement(paywall);
|
||||
window.location.href = amphtml.href;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
else if (matchDomain('allgaeuer-zeitung.de')) {
|
||||
if (matchDomain('allgaeuer-zeitung.de')) {
|
||||
let url = window.location.href;
|
||||
if (!url.includes('?type=amp')) {
|
||||
let paywall = document.querySelector('p.nfy-text-blur');
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
"webRequest",
|
||||
"webRequestBlocking",
|
||||
"*://*.360dx.com/*",
|
||||
"*://*.aachener-nachrichten.de/*",
|
||||
"*://*.aachener-zeitung.de/*",
|
||||
"*://*.aamulehti.fi/*",
|
||||
"*://*.abc.es/*",
|
||||
"*://*.abendblatt.de/*",
|
||||
|
@ -605,5 +603,5 @@
|
|||
"*://*.wsj.net/*",
|
||||
"*://*.zephr.com/*"
|
||||
],
|
||||
"version": "2.5.1.6"
|
||||
"version": "2.5.1.7"
|
||||
}
|
||||
|
|
10
sites.js
10
sites.js
|
@ -3,16 +3,6 @@ var defaultSites = {
|
|||
domain: "360dx.com",
|
||||
group_rule: "###_gr_usa_genomeweb_domains"
|
||||
},
|
||||
"Aachener Nachrichten": {
|
||||
domain: "aachener-nachrichten.de",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|analytics|subscriptions)-.+\.js/
|
||||
},
|
||||
"Aachener Zeitung": {
|
||||
domain: "aachener-zeitung.de",
|
||||
allow_cookies: 1,
|
||||
block_regex: /cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|analytics|subscriptions)-.+\.js/
|
||||
},
|
||||
"ABC.es": {
|
||||
domain: "abc.es",
|
||||
allow_cookies: 1,
|
||||
|
|
Loading…
Reference in a new issue