From 3d77e6b2dc9c9b01275ab9d680d51aff312f4e7a Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 24 Nov 2021 17:35:15 +0100 Subject: [PATCH] Remove Saechsische Zeitung (obsolete) --- README.md | 3 ++- background.js | 12 ------------ changelog.txt | 1 + custom/manifest.json | 2 +- custom/sites_custom.json | 4 +++- manifest.json | 3 +-- sites.js | 5 ----- 7 files changed, 8 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index eb479e1..6ad4289 100755 --- a/README.md +++ b/README.md @@ -221,8 +221,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)\ @@ -399,7 +401,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 a3bd0b5..f743bfa 100755 --- 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 63de49e..3568b6b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Chrome Post-release +Remove Saechsische Zeitung (obsolete) * v2.4.5.0 (2021-11-21) Add Advance Local (local USA) diff --git a/custom/manifest.json b/custom/manifest.json index c71f6e0..c09bd2a 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -39,5 +39,5 @@ "webRequestBlocking", "" ], - "version": "2.4.5.0" + "version": "2.4.5.1" } \ No newline at end of file diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 3ad8329..6575328 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 091f74f..dba6217 100755 --- a/manifest.json +++ b/manifest.json @@ -401,7 +401,6 @@ "*://*.rollingstone.com/*", "*://*.ruhrnachrichten.de/*", "*://*.sacbee.com/*", - "*://*.saechsische.de/*", "*://*.sandiegouniontribune.com/*", "*://*.science-et-vie.com/*", "*://*.sciencesetavenir.fr/*", @@ -559,5 +558,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 a9e1dc3..1d41dad 100755 --- 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/