From c59979ec3f40d7c00e14a92c83b428e0dc7bc3fa Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 8 Oct 2020 20:31:55 +0200 Subject: [PATCH] Remove BusinessTimes.com.sg (obsolete) --- README.md | 1 - changelog.txt | 3 ++- contentScript.js | 13 ------------- lp/manifest.json | 3 +-- manifest.json | 2 +- sites.js | 1 - 6 files changed, 4 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index eac96e7..1b86e0b 100644 --- a/README.md +++ b/README.md @@ -279,7 +279,6 @@ So don't update to Firefox 79 or use F-droid's [Fennec-release](https://f-droid. [NK News](https://www.nknews.org)* - [South China Morning Post](https://www.scmp.com) - [Tech in Asia](https://www.techinasia.com) - -[The Business Times](https://www.businesstimes.com.sg) - [The Diplomat](https://www.thediplomat.com) - [The Japan Times](https://www.japantimes.co.jp) diff --git a/changelog.txt b/changelog.txt index df0a23d..965ec07 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,8 +2,9 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Remove BusinessTimes.com.sg (obsolete) Fix-update Bloomberg (overlay) -Fix-update Toronto Star (map-snippet) +Fix-update Toronto Star (map-snippet/footer) * v1.8.9.0 (2020-10-04) Add Hannoversche Allgemeine Zeitung diff --git a/contentScript.js b/contentScript.js index 522dea5..d6c5e00 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1161,19 +1161,6 @@ else if (matchDomain("startribune.com")) { }); } -else if (domain = matchDomain("businesstimes.com.sg")) { - let url = window.location.href; - let paywall_login = document.querySelector('div.paywall-login2'); - if (paywall_login) { - window.setTimeout(function () { - window.location.href = url + '?amp'; - }, 500); // Delay (in milliseconds) - } - let cx_custom = document.querySelector('div#cx_custom'); - if (cx_custom) - cx_custom.setAttribute('style', 'display:none'); -} - else if (matchDomain("nationalreview.com")) { document.addEventListener('DOMContentLoaded', () => { let url = window.location.href; diff --git a/lp/manifest.json b/lp/manifest.json index 06d9f39..96d9622 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -57,7 +57,6 @@ "*://*.britannica.com/*", "*://*.business-standard.com/*", "*://*.businessinsider.com/*", - "*://*.businesstimes.com.sg/*", "*://*.cairnspost.com.au/*", "*://*.caixinglobal.com/*", "*://*.canberratimes.com.au/*", @@ -318,5 +317,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.9.2" + "version": "1.8.9.3" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index bc347b1..16c7a24 100644 --- a/manifest.json +++ b/manifest.json @@ -40,5 +40,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.9.2" + "version": "1.8.9.3" } \ No newline at end of file diff --git a/sites.js b/sites.js index d29b323..5c22dbc 100644 --- a/sites.js +++ b/sites.js @@ -158,7 +158,6 @@ var defaultSites = "The Australian Financial Review": "afr.com", "The Boston Globe (opt-in)": "bostonglobe.com", "The Business Journals": "bizjournals.com", - "The Business Times": "businesstimes.com.sg", "The Christian Science Monitor": "csmonitor.com", "The Daily Beast (free articles only)": "thedailybeast.com", "The Denver Post": "denverpost.com",