Add Aachener-Nachrichten.de

This commit is contained in:
magnolia1234 2021-12-18 13:06:26 +01:00
parent 8da52f3c9c
commit ba60f48d69
6 changed files with 19 additions and 2 deletions

View file

@ -372,6 +372,7 @@ 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) -

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Aachener-Nachrichten.de
Add Allgaeuer-Zeitung.de
Add Lequipe.fr
Add LaLibre.be

View file

@ -336,7 +336,7 @@ else {
} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net', 'handelsblatt.com'])) {//germany/austria/switzerland - ch
if (matchDomain('aachener-zeitung.de')) {
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');

View file

@ -53,6 +53,7 @@
"webRequest",
"webRequestBlocking",
"*://*.360dx.com/*",
"*://*.aachener-nachrichten.de/*",
"*://*.aachener-zeitung.de/*",
"*://*.aamulehti.fi/*",
"*://*.abc.es/*",

View file

@ -3,6 +3,11 @@ 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-(ad|analytics|consent|subscriptions)-.+\.js/
},
"Aachener Zeitung": {
domain: "aachener-zeitung.de",
allow_cookies: 1,
@ -51,7 +56,7 @@ var defaultSites = {
"Allgäuer Zeitung": {
domain: "allgaeuer-zeitung.de",
allow_cookies: 1,
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-(ad|subscriptions)-.+\.js)/
block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|subscriptions)-.+\.js)/
},
"Alma Talent (Finland)": {
domain: "###_fi_alma_talent",

View file

@ -1,4 +1,13 @@
{
"Aachener Nachrichten": {
"domain": "aachener-nachrichten.de",
"allow_cookies": 1,
"amp_redirect": {
"paywall": ".park-article-paywall, .text-blurred"
},
"amp_unhide": 1,
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(ad|analytics|consent|subscriptions)-.+\\.js"
},
"Allgäuer Zeitung": {
"domain": "allgaeuer-zeitung.de",
"allow_cookies": 1,