From e4a75dc8b83da20254d6546916c9519bc595d924 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 7 Apr 2023 09:21:48 +0200 Subject: [PATCH] Remove Griffith Review (fix obsolete) --- README.md | 1 - changelog.txt | 1 + contentScript.js | 8 -------- manifest.json | 1 - sites.js | 4 ---- 5 files changed, 1 insertion(+), 14 deletions(-) diff --git a/README.md b/README.md index 1afb12d..801b9b6 100644 --- a/README.md +++ b/README.md @@ -761,7 +761,6 @@ Grouped in options:\ ##### Australia/New Zealand [Eureka Report](https://www.eurekareport.com.au) - -[Griffith Review](https://www.griffithreview.com) - [Intelligent Investor](https://www.intelligentinvestor.com.au) - [New Zealand Herald](https://www.nzherald.co.nz) - [Quillette (link to archive.is)](https://quillette.com) - diff --git a/changelog.txt b/changelog.txt index 0546e4b..023dc62 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Updates: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/release Post-release Add Haas Mediengruppe (opt-in to custom sites) +Remove Griffith Review (fix obsolete) Fix LesEchos.fr (json) * v3.1.2.0 (2023-04-02) diff --git a/contentScript.js b/contentScript.js index 403a3e8..013c040 100644 --- a/contentScript.js +++ b/contentScript.js @@ -3362,14 +3362,6 @@ else if (matchDomain('fortune.com')) { } } -else if (matchDomain('griffithreview.com')) { - let body_single = document.querySelector('body.single'); - if (body_single) - body_single.classList.remove('single'); - let subscribe = document.querySelector('div.call-to-action'); - removeDOMElement(subscribe); -} - else if (matchDomain('hbr.org')) { let popup = document.querySelector('.persistent-banner'); removeDOMElement(popup); diff --git a/manifest.json b/manifest.json index 470d5b3..2c62f4d 100644 --- a/manifest.json +++ b/manifest.json @@ -269,7 +269,6 @@ "*://*.goodhousekeeping.com/*", "*://*.gooieneemlander.nl/*", "*://*.gq.com/*", - "*://*.griffithreview.com/*", "*://*.groene.nl/*", "*://*.grubstreet.com/*", "*://*.gymclimber.com/*", diff --git a/sites.js b/sites.js index c69757c..3e74039 100644 --- a/sites.js +++ b/sites.js @@ -656,10 +656,6 @@ var defaultSites = { domain: "globes.co.il", block_regex: /\.tinypass\.com\// }, - "Griffith Review": { - domain: "griffithreview.com", - remove_cookies_select_drop: ["issuem_lp"] - }, "Groene Amsterdammer": { domain: "groene.nl", remove_cookies_select_hold: ["accept-cookies", "popunder-hidden"],