From 2ec5567d256a9d81ccc2cf5e58164344542e0f13 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Sat, 2 Oct 2021 11:16:14 +0200 Subject: [PATCH] Remove Republic.ru (obsolete) --- README.md | 3 --- background.js | 1 - changelog.txt | 1 + contentScript.js | 6 ------ manifest.json | 1 - sites.js | 1 - 6 files changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 145d5f4..fa5d0a6 100644 --- a/README.md +++ b/README.md @@ -439,9 +439,6 @@ Grouped in options:\ [Correio da Manhã](https://www.cmjornal.pt) - [Observador](https://observador.pt) -##### Russia -[Republic.ru](https://republic.ru) - ##### Spain [ABC](https://www.abc.es) - [El Confidencial](https://www.elconfidencial.com) - diff --git a/background.js b/background.js index f61499d..92fbcae 100644 --- a/background.js +++ b/background.js @@ -236,7 +236,6 @@ var use_google_bot_default = [ 'nzz.ch', 'piqd.de', 'quora.com', - 'republic.ru', 'rhein-zeitung.de', 'rheinpfalz.de', 'ruhrnachrichten.de', diff --git a/changelog.txt b/changelog.txt index b2d1faa..7453b4e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Westfalen-Blatt (Germany) Remove Gazet van Antwerpen (obsolete) +Remove Republic.ru (obsolete) Fix Boston Globe Fix El Periodico de Catalunya (amp) Fix Foreign Affairs (timing) diff --git a/contentScript.js b/contentScript.js index 6dc8d5f..37aa732 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2312,12 +2312,6 @@ else if (matchDomain('qz.com')) { } } -else if (matchDomain('republic.ru')) { - let paywall = document.querySelector('.paywall-section'); - removeDOMElement(paywall); -} - - else if (matchDomain('sandiegouniontribune.com')) { window.setTimeout(function () { let metering_bottompanel = document.querySelector('metering-bottompanel'); diff --git a/manifest.json b/manifest.json index cb565e7..3ad6416 100644 --- a/manifest.json +++ b/manifest.json @@ -397,7 +397,6 @@ "*://*.qz.com/*", "*://*.rechargenews.com/*", "*://*.repubblica.it/*", - "*://*.republic.ru/*", "*://*.republicain-lorrain.fr/*", "*://*.reuters.com/*", "*://*.rhein-zeitung.de/*", diff --git a/sites.js b/sites.js index aa2795f..9376140 100644 --- a/sites.js +++ b/sites.js @@ -201,7 +201,6 @@ var defaultSites = "Quartz (free articles only)": "qz.com", "Quora": "quora.com", "Quotidiano.net (+ regional)": "###_it_quotidiano", - "Republic.ru": "republic.ru", "Reuters": "reuters.com", "Rhein-Zeitung": "rhein-zeitung.de", "Rolling Stone": "rollingstone.com",