Add Spektrum.de

This commit is contained in:
magnolia1234 2024-04-04 19:17:14 +02:00
parent 627b4f958f
commit 965240d6c9
7 changed files with 22 additions and 3 deletions

View file

@ -620,6 +620,7 @@ Grouped in options:\
[Rhein-Zeitung](https://www.rhein-zeitung.de) -
[Salzburger Nachrichten](https://www.sn.at) -
[Schwäbische Zeitung](https://www.schwaebische.de) -
[Spektrum](https://www.spektrum.de) -
[Springer Medizin](https://www.springermedizin.de) -
[Süddeutsche Zeitung](https://www.sueddeutsche.de) -
[Südkurier](https://www.suedkurier.de) -

View file

@ -4,8 +4,9 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add Bild.de (fetch from archive.is)
Add Crain's Grand Rapids Business
Add Capital.fr
Add Crain's Grand Rapids Business
Add Spektrum.de
Fix LeMonde.fr (view more)
Fix MediaNews Group (ld_json_url)
Fix Nzz.ch (css)

View file

@ -1296,6 +1296,12 @@ else if (matchDomain('sn.at')) {
getGoogleWebcache(url, 'div.article-sections__paywall', '', 'div.article-body-text');
}
else if (matchDomain('spektrum.de')) {
let paywall = document.querySelector('article.pw-premium');
if (paywall)
paywall.classList.remove('pw-premium');
}
else if (matchDomain('spiegel.de')) {
let url = window.location.href;
getArchive(url, 'div[data-area="paywall"]', '', 'div[data-area="body"]');

View file

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.6.2.5"
"version": "3.6.2.6"
}

View file

@ -643,6 +643,7 @@
"*://*.sourcingjournal.com/*",
"*://*.spectator.co.uk/*",
"*://*.spectator.com.au/*",
"*://*.spektrum.de/*",
"*://*.spglobal.com/*",
"*://*.spiegel.de/*",
"*://*.sportico.com/*",
@ -869,5 +870,5 @@
"*://archive.vn/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.6.2.5"
"version": "3.6.2.6"
}

View file

@ -2230,6 +2230,10 @@ var defaultSites = {
domain: "infzm.com",
allow_cookies: 1
},
"Spektrum.de": {
domain: "spektrum.de",
allow_cookies: 1
},
"SPH Media (fetch from archive.is)": {
domain: "###_sg_sph_media",
group: [

View file

@ -119,6 +119,12 @@
"block_regex": "(\\.piano\\.io\\/xbuilder\\/experience\\/execute|cdn\\.ampproject\\.org(\\/.+)?\\/v\\d\\/amp-(access|loader)-.+\\.js)",
"upd_version": "3.6.2.6"
},
"Spektrum.de": {
"domain": "spektrum.de",
"allow_cookies": 1,
"cs_code": "[{\"cond\":\"article.pw-premium\", \"rm_class\":\"pw-premium\"}]",
"upd_version": "3.6.2.6"
},
"The Banker (removed)": {
"domain": "thebanker.com",
"allow_cookies": 1,