Add Volksstimme.de

This commit is contained in:
magnolia1234 2022-03-12 08:49:01 +01:00
parent 20e20da161
commit fd2d7fe8a9
6 changed files with 16 additions and 3 deletions

View file

@ -445,6 +445,7 @@ Grouped in options:\
[Rhein-Zeitung](https://www.rhein-zeitung.de) -
[Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) -
[Schweriner Volkszeitung](https://www.svz.de) -
[Volksstimme](https://www.volksstimme.de) -
[Westfalen-Blatt](https://www.westfalen-blatt.de) -
[Westfälische Nachrichten](https://www.wn.de)

View file

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Connaissance des Arts (France)
Add LaMontagne.fr
Add Volksstimme.de
Fix American Affairs (js)
Fix Bloomberg
Fix Bloomberg Quint (amp)

View file

@ -255,7 +255,7 @@ else {
amp_unhide_access_hide('="access AND subscriber"', '', amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
comments = document.querySelector('#story-comments, .comments-wrapper');
} else if (window.location.href.includes('?amp')) {
amp_unhide_access_hide('="subscriber AND status=\'logged-in\'"', '', amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
amp_unhide_access_hide('="subscriber AND status=\'logged-in\'"', '="status=\'logged-out\'"', amp_ads_sel, true, true, 'resourcesssl.newscdn.com.au');
comments = document.querySelector('#comments-load');
let amp_iframe_sizers = document.querySelectorAll('amp-iframe > i-amphtml-sizer');
removeDOMElement(...amp_iframe_sizers)
@ -616,7 +616,7 @@ else if (matchDomain('kurier.at')) {
plus_content.classList.remove('plusContent');
}
else if (matchDomain('mz.de')) {
else if (matchDomain(['mz.de', 'volksstimme.de'])) {
let url = window.location.href.split('?')[0];
let paywall = document.querySelector('.fp-paywall');
if (url.includes('/amp/')) {

View file

@ -573,6 +573,7 @@
"*://*.vogue.com/*",
"*://*.voguebusiness.com/*",
"*://*.volkskrant.nl/*",
"*://*.volksstimme.de/*",
"*://*.vosgesmatin.fr/*",
"*://*.vulture.com/*",
"*://*.washingtonpost.com/*",
@ -634,5 +635,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.5.9.4"
"version": "2.5.9.5"
}

View file

@ -1781,6 +1781,11 @@ var defaultSites = {
domain: "volkskrant.nl",
group_rule: "###_gr_nl_pg_domains"
},
"Volksstimme": {
domain: "volksstimme.de",
allow_cookies: 1,
block_regex: /cdn\.ampproject\.org\/v\d\/amp-(access|(sticky-)?ad|subscriptions)-.+\.js/
},
"Vrij Nederland": {
domain: "vn.nl",
allow_cookies: 1

View file

@ -81,5 +81,10 @@
"domain": "economist.com",
"allow_cookies": 1,
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|ad)-.+\\.js)"
},
"Volksstimme": {
"domain": "volksstimme.de",
"allow_cookies": 1,
"block_regex": "cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|(sticky-)?ad|subscriptions)-.+\\.js"
}
}