diff --git a/README.md b/README.md index ad2bb6a..490b3f8 100644 --- a/README.md +++ b/README.md @@ -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) - diff --git a/changelog.txt b/changelog.txt index 98ec36b..a615b29 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/contentScript.js b/contentScript.js index 994a98a..a693fd0 100644 --- a/contentScript.js +++ b/contentScript.js @@ -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"]'); diff --git a/custom/manifest.json b/custom/manifest.json index 4f0f2a7..68fef5a 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.6.2.5" + "version": "3.6.2.6" } diff --git a/manifest.json b/manifest.json index 9629e92..afa8ef6 100644 --- a/manifest.json +++ b/manifest.json @@ -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" } diff --git a/sites.js b/sites.js index 208ad99..13df1f7 100644 --- a/sites.js +++ b/sites.js @@ -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: [ diff --git a/sites_updated.json b/sites_updated.json index 385e0e4..8bd9a02 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -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,