Add AllgaeuerZeitung.de

This commit is contained in:
magnolia1234 2021-12-18 12:33:08 +01:00
parent 4e99442f64
commit 8da52f3c9c
6 changed files with 41 additions and 10 deletions

View file

@ -373,6 +373,7 @@ Grouped in options:\
##### Germany/Austria ##### Germany/Austria
[Aachener Zeitung](https://www.aachener-zeitung.de) - [Aachener Zeitung](https://www.aachener-zeitung.de) -
[Allgäuer Zeitung](https://www.allgaeuer-zeitung.de) -
[Augsburger Allgemeine](https://www.augsburger-allgemeine.de) - [Augsburger Allgemeine](https://www.augsburger-allgemeine.de) -
[Berliner Zeitung](https://www.berliner-zeitung.de) - [Berliner Zeitung](https://www.berliner-zeitung.de) -
[Cicero](https://www.cicero.de) - [Cicero](https://www.cicero.de) -

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox Changelog Bypass Paywalls Clean - Firefox
Post-release Post-release
Add Allgaeuer-Zeitung.de
Add Lequipe.fr Add Lequipe.fr
Add LaLibre.be Add LaLibre.be
Add LeVif.be Add LeVif.be
@ -124,7 +125,7 @@ Update block general paywall script (AzureEdge)
* v2.3.8.0 (2021-10-03) * v2.3.8.0 (2021-10-03)
Add NordLittoral.fr (Groupe Rossel) Add NordLittoral.fr (Groupe Rossel)
Add Westfalen-Blatt (Germany) Add Westfalen-Blatt.de
Remove Gazet van Antwerpen (obsolete) Remove Gazet van Antwerpen (obsolete)
Remove Republic.ru (obsolete) Remove Republic.ru (obsolete)
Fix Bloomberg (blur) Fix Bloomberg (blur)
@ -137,7 +138,7 @@ Fix VeloNews
Update daily users counter (amo) Update daily users counter (amo)
* v2.3.7.0 (2021-09-26) * v2.3.7.0 (2021-09-26)
Add Aachener Zeitung (Germany) Add Aachener-Zeitung.de
Add Grupo Prensa Iberica (Spain) Add Grupo Prensa Iberica (Spain)
Add Tampa Bay Times (local USA) Add Tampa Bay Times (local USA)
Add Telerama.fr Add Telerama.fr
@ -360,7 +361,7 @@ Fix Mexico News Daily
Update options: restore opt-in for custom sites (on reload; Chrome-only) Update options: restore opt-in for custom sites (on reload; Chrome-only)
* v2.1.4.0 (2021-03-28) * v2.1.4.0 (2021-03-28)
Add Aachener Zeitung (Germany) Add Aachener-Zeitung.de (RP-medien)
Add Apollo Magazine Add Apollo Magazine
Add NK News (not pro) Add NK News (not pro)
Add Nordwest Zeitung (Germany) Add Nordwest Zeitung (Germany)
@ -369,7 +370,7 @@ Fix Wired (Googlebot)
Fix WSJ (option to disable Googlebot; http error 500) Fix WSJ (option to disable Googlebot; http error 500)
* v2.1.3.0 (2021-03-21) * v2.1.3.0 (2021-03-21)
Add Berliner Zeitung (Germany) Add Berliner-Zeitung.de
Add The Dallas Morning News (local USA) Add The Dallas Morning News (local USA)
Add Entrepreneur Add Entrepreneur
Fix The Saturday Paper Fix The Saturday Paper
@ -397,7 +398,7 @@ Fix New Left Review
Add Die Rheinpfalz (Germany) Add Die Rheinpfalz (Germany)
Add Gannett Group (local USA Today; opt-in to custom sites) Add Gannett Group (local USA Today; opt-in to custom sites)
Add New York Daily News (local USA) Add New York Daily News (local USA)
Add Rhein-Zeitung (Germany) Add Rhein-Zeitung.de
Add The Virginian-Pilot (local USA) Add The Virginian-Pilot (local USA)
Add VentureBeat Add VentureBeat
Fix El Periodico de Catalunya Fix El Periodico de Catalunya
@ -423,7 +424,7 @@ Update incognito window (Chrome-only split mode)
Update limit contentScript (add image/sub_frame) Update limit contentScript (add image/sub_frame)
* v2.0.8.0 (2021-02-14) * v2.0.8.0 (2021-02-14)
Add Augsburger Allgemeine (Germany) Add Augsburger-Allgemeine.de
Add group McClatchy (USA) Add group McClatchy (USA)
Add Neue Osnabruecker Zeitung (Germany) Add Neue Osnabruecker Zeitung (Germany)
Add Time Magazine Add Time Magazine
@ -468,7 +469,7 @@ Add elDiario.es (Spain)
Add La Nueva Espana (Spain) Add La Nueva Espana (Spain)
Add Observador (Portugal) Add Observador (Portugal)
Add Prospect Magazine (United Kingdom) Add Prospect Magazine (United Kingdom)
Add Ruhr Nachrichten (Germany) Add RuhrNachrichten.de
Add The Point Magazine Add The Point Magazine
Fix El Pais (Spain) Fix El Pais (Spain)
Fix Helsingin Sanomat (Finland) Fix Helsingin Sanomat (Finland)
@ -478,7 +479,7 @@ Update block TinyPass (all subdomains)
Update excluded sites (no general block paywall scripts) Update excluded sites (no general block paywall scripts)
* v2.0.4.0 (2021-01-17) * v2.0.4.0 (2021-01-17)
Add Cicero (Germany) Add Cicero.de
Add Il Secolo XIX (Italy) Add Il Secolo XIX (Italy)
Add L'Usine Nouvelle (France) Add L'Usine Nouvelle (France)
Add La Nuova Sardegna (Italy) Add La Nuova Sardegna (Italy)

View file

@ -28,7 +28,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']; 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) // clean local storage of sites (with an exemption for hold-list)
var arr_localstorage_hold = ['augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains); var arr_localstorage_hold = ['allgaeuer-zeitung.de', 'augsburger-allgemeine.de', 'businessoffashion.com', 'charliehebdo.fr', 'cmjornal.pt', 'expressnews.com', 'fortune.com', 'houstonchronicle.com', 'inc42.com', 'kurier.at', 'nknews.org', 'seekingalpha.com', 'sfchronicle.com', 'thehindu.com', 'thetimes.co.uk'].concat(de_funke_media_domains, es_grupo_vocento_domains, es_unidad_domains, no_nhst_media_domains);
if (!matchDomain(arr_localstorage_hold)) { if (!matchDomain(arr_localstorage_hold)) {
window.localStorage.clear(); window.localStorage.clear();
} }
@ -350,6 +350,21 @@ if (matchDomain('aachener-zeitung.de')) {
} }
} }
else if (matchDomain('allgaeuer-zeitung.de')) {
let url = window.location.href;
if (!url.includes('?type=amp')) {
let paywall = document.querySelector('p.nfy-text-blur');
if (paywall) {
removeDOMElement(paywall);
window.location.href = url.split('?')[0] + '?type=amp';
}
} else {
let preview = document.querySelectorAll('p.nfy-text-blur, div[subscriptions-display^="NOT data."]');
let amp_ads = document.querySelectorAll('amp-ad');
removeDOMElement(...preview, ...amp_ads);
}
}
else if (matchDomain('augsburger-allgemeine.de')) { else if (matchDomain('augsburger-allgemeine.de')) {
let url = window.location.href; let url = window.location.href;
if (!url.includes('-amp.html')) { if (!url.includes('-amp.html')) {

View file

@ -66,6 +66,7 @@
"*://*.aisnenouvelle.fr/*", "*://*.aisnenouvelle.fr/*",
"*://*.ajc.com/*", "*://*.ajc.com/*",
"*://*.al.com/*", "*://*.al.com/*",
"*://*.allgaeuer-zeitung.de/*",
"*://*.alternatives-economiques.fr/*", "*://*.alternatives-economiques.fr/*",
"*://*.ambito.com/*", "*://*.ambito.com/*",
"*://*.americanaffairsjournal.org/*", "*://*.americanaffairsjournal.org/*",
@ -592,5 +593,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.4.7.5" "version": "2.4.7.6"
} }

View file

@ -48,6 +48,11 @@ var defaultSites = {
], ],
remove_cookies_select_drop: ["temptationTrackingId"] remove_cookies_select_drop: ["temptationTrackingId"]
}, },
"Allgäuer Zeitung": {
domain: "allgaeuer-zeitung.de",
allow_cookies: 1,
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js)/
},
"Alma Talent (Finland)": { "Alma Talent (Finland)": {
domain: "###_fi_alma_talent", domain: "###_fi_alma_talent",
group: [ group: [

View file

@ -1,4 +1,12 @@
{ {
"Allgäuer Zeitung": {
"domain": "allgaeuer-zeitung.de",
"allow_cookies": 1,
"amp_redirect": {
"paywall": "p.nfy-text-blur"
},
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|subscriptions)-.+\\.js)"
},
"La Libre.be": { "La Libre.be": {
"domain": "lalibre.be", "domain": "lalibre.be",
"allow_cookies": 1, "allow_cookies": 1,