From 6e8e21c13b193662b98380192931f4a70f94e5b7 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 24 Nov 2021 17:36:07 +0100 Subject: [PATCH] Remove Saechsische Zeitung (obsolete) --- README.md | 3 ++- background.js | 12 ------------ changelog.txt | 1 + custom/sites_custom.json | 4 +++- manifest.json | 3 +-- sites.js | 5 ----- 6 files changed, 7 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index afc74c06..7eecfcd0 100644 --- a/README.md +++ b/README.md @@ -198,8 +198,10 @@ Grouped in options:\ [The Post-Standard](https://www.syracuse.com) - [The Republican](https://www.masslive.com)\ *Gannett Group (local USA Today)* sites like (opt-in to custom sites)\ +[Austin American-Statesman](https://www.statesman.com/) - [Detroit Free Press](https://www.freep.com) - [Milwaukee Journal Sentinel](https://www.jsonline.com) - +[The Courier-Journal](https://www.courier-journal.com/) - [The Indianapolis Star](https://www.indystar.com) - [The Record (North Jersey)](https://www.northjersey.com)\ *Lee Enterprises Group* sites like (opt-in to custom sites for unlisted)\ @@ -376,7 +378,6 @@ Grouped in options:\ [Piqd.de](https://www.piqd.de) - [Rhein-Zeitung](https://www.rhein-zeitung.de) - [Ruhr Nachrichten](https://www.ruhrnachrichten.de) - -[Sächsische Zeitung](https://www.saechsische.de) - [Schleswig-Holsteinischer Zeitungsverlag](https://www.shz.de) - [Schweriner Volkszeitung](https://www.svz.de) - [Westfalen-Blatt](https://www.westfalen-blatt.de) - diff --git a/background.js b/background.js index a3bd0b57..f743bfa4 100644 --- a/background.js +++ b/background.js @@ -539,18 +539,6 @@ ext_api.webRequest.onBeforeRequest.addListener(function (details) { ["blocking"] ); -// saechsische.de amp-redirect -ext_api.webRequest.onBeforeRequest.addListener(function (details) { - if (!isSiteEnabled(details)) { - return; - } - var updatedUrl = details.url.replace('-plus-amp.html', '-plus.html'); - return { redirectUrl: updatedUrl }; -}, -{urls:["*://*.saechsische.de/*-plus-amp.html*"], types:["main_frame"]}, -["blocking"] -); - // infzm.com redirect to wap (mobile) ext_api.webRequest.onBeforeRequest.addListener(function (details) { if (!isSiteEnabled(details)) { diff --git a/changelog.txt b/changelog.txt index 4e91aa7d..4f863640 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Remove Saechsische Zeitung (obsolete) * v2.4.5.0 (2021-11-21) Add Advance Local (local USA) diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 3ad83296..65753289 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -43,6 +43,8 @@ "useragent": "googlebot" }, "Heraldscotland.com": { + "allow_cookies": 1, + "block_regex": "\\.tinypass\\.com\\/", "domain": "heraldscotland.com" }, "Internationalepolitik.de": { @@ -118,4 +120,4 @@ "domain": "wz.de", "useragent": "googlebot" } -} \ No newline at end of file +} diff --git a/manifest.json b/manifest.json index 8ab65f0c..b4b66ccc 100644 --- a/manifest.json +++ b/manifest.json @@ -413,7 +413,6 @@ "*://*.rollingstone.com/*", "*://*.ruhrnachrichten.de/*", "*://*.sacbee.com/*", - "*://*.saechsische.de/*", "*://*.sandiegouniontribune.com/*", "*://*.science-et-vie.com/*", "*://*.sciencesetavenir.fr/*", @@ -571,5 +570,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.4.5.0" + "version": "2.4.5.1" } \ No newline at end of file diff --git a/sites.js b/sites.js index a9e1dc34..1d41dada 100644 --- a/sites.js +++ b/sites.js @@ -1172,11 +1172,6 @@ var defaultSites = { block_regex: /(\.tinypass\.com\/|cdn\.ampproject\.org\/v\d\/amp-((sticky-)?ad|consent|subscriptions)-.+\.js)/, useragent: "googlebot" }, - "Sächsische Zeitung": { - domain: "saechsische.de", - allow_cookies: 1, - block_regex: /\.tinypass\.com\// - }, "San Diego Union Tribune": { domain: "sandiegouniontribune.com", block_regex: /metering\.platform\.sandiegouniontribune\.com\/v\d\/meter/