From b5e54d02e998ce53dc77a00e22b8bd2a7f4c03de Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 1 Feb 2022 19:21:33 +0100 Subject: [PATCH] Remove The Logic (fix obsolete) --- README.md | 3 +-- changelog.txt | 1 + contentScript.js | 5 ----- sites.js | 3 --- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f7a5b8b..62889d9 100644 --- a/README.md +++ b/README.md @@ -274,8 +274,7 @@ Grouped in options:\ [Le Devoir](https://www.ledevoir.com) - [National Post](https://www.nationalpost.com) - [The Globe and Mail](https://www.theglobeandmail.com) - -[The Hill Times](https://www.hilltimes.com) - -[The Logic](https://thelogic.co)\ +[The Hill Times](https://www.hilltimes.com)\ [The Toronto Star](https://www.thestar.com) and regional TorStar sites (grouped in options) like [Niagara Falls Review](https://www.niagarafallsreview.ca) - [Peterborough Examiner](https://www.thepeterboroughexaminer.com) - diff --git a/changelog.txt b/changelog.txt index 9121715..74efe66 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Remove The Logic (fix obsolete) Fix La Tercera (js) Fix MIT Technology Review (TinyPass) Fix Times Literary Supplement (set referer Google) diff --git a/contentScript.js b/contentScript.js index 8d9fa96..9ef6046 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3025,11 +3025,6 @@ else if (matchDomain(['thehindu.com', 'thehindubusinessline.com'])) { document.dispatchEvent(new CustomEvent('bpc_event', {})); } -else if (matchDomain('thelogic.co')) { - let article_subscribe = document.querySelector('.article-subscribe'); - removeDOMElement(article_subscribe); -} - else if (matchDomain('thenewatlantis.com')) { let article_gated = document.querySelector('.article-gated'); if (article_gated) diff --git a/sites.js b/sites.js index 8be798e..ec32ceb 100644 --- a/sites.js +++ b/sites.js @@ -1533,9 +1533,6 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.jpost\.com\/js\/js_article\.min\.js/ }, - "The Logic": { - domain: "thelogic.co" - }, "The Marker": { domain: "themarker.com", allow_cookies: 1,