From 34d1535186d49ee7e2f7cabc7fa77940086e797d Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Tue, 10 May 2022 17:14:39 +0200 Subject: [PATCH] Remove The Japan Times (fix obsolete) --- README.md | 3 +-- background.js | 2 +- changelog.txt | 1 + manifest.json | 1 - sites.js | 6 +----- 5 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index a42fac1d..a617a5cd 100644 --- a/README.md +++ b/README.md @@ -686,8 +686,7 @@ Grouped in options:\ [South China Morning Post](https://www.scmp.com) - [Southern Weekly](https://www.infzm.com) - [Tech in Asia](https://www.techinasia.com) - -[The Diplomat](https://thediplomat.com) - -[The Japan Times](https://www.japantimes.co.jp) +[The Diplomat](https://thediplomat.com) #### India [Bloomberg Quint](https://www.bloombergquint.com) - diff --git a/background.js b/background.js index 8a1ac01f..0408714e 100644 --- a/background.js +++ b/background.js @@ -675,7 +675,7 @@ function disableJavascriptOnListedSites() { && ((enabledSites.includes('###_wp_evolok') && details.url.includes('/wp-content/evolok/ev-widgets/ev-widgets.min.js')) || (enabledSites.includes('###_wp_pico') && details.url.includes('/wp-content/plugins/pico/includes/js/read-more.js')) || (enabledSites.includes('###_wp_pigeon') && details.url.includes('/c/assets/pigeon.js'))))) - || matchUrlDomain(excludedSites.concat(['asia.nikkei.com', 'cambridge.org']), header_referer)) { + || matchUrlDomain(excludedSites.concat(['asia.nikkei.com', 'cambridge.org', 'japantimes.co.jp']), header_referer)) { return; } return { diff --git a/changelog.txt b/changelog.txt index d47d246a..dd198cd1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Remove The Japan Times (fix obsolete) Fix Lequipe.fr (json) * v2.6.8.0 (2022-05-08) diff --git a/manifest.json b/manifest.json index d4858b92..d48733f7 100644 --- a/manifest.json +++ b/manifest.json @@ -295,7 +295,6 @@ "*://*.ipolitics.ca/*", "*://*.italian.tech/*", "*://*.italiaoggi.it/*", - "*://*.japantimes.co.jp/*", "*://*.journaldunet.com/*", "*://*.journalnow.com/*", "*://*.jpost.com/*", diff --git a/sites.js b/sites.js index 2df3eee9..897ab635 100644 --- a/sites.js +++ b/sites.js @@ -1660,10 +1660,6 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.theintercept\.com\/api\/tinypass\.min\.js/ }, - "The Japan Times": { - domain: "japantimes.co.jp", - block_regex: /\.piano\.io\// - }, "The Jerusalem Post": { domain: "jpost.com", allow_cookies: 1, @@ -2090,4 +2086,4 @@ var usa_theathletic_domains = grouped_sites['###_usa_theathletic']; // sites with no fix (background) var nl_ad_region_domains = ['ad.nl', 'bd.nl', 'ed.nl', 'tubantia.nl', 'bndestem.nl', 'pzc.nl', 'destentor.nl', 'gelderlander.nl']; -var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'irishtimes.com', 'jacobinmag.com', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'ynet.co.il'].concat(nl_ad_region_domains); +var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'cnbc.com', 'courrierinternational.com', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'gazzetta.it', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.com', 'irishtimes.com', 'jacobinmag.com', 'japantimes.co.jp', 'jeunesafrique.com', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'liberation.fr', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nieuwsblad.be', 'nknews.org', 'ouest-france.fr', 'politiken.de', 'publico.pt', 'republic.ru', 'rp-online.de', 'spiegel.de', 'standaard.be', 'statnews.com', 'stern.de', 'straitstimes.com', 'sueddeutsche.de', 'tagesanzeiger.ch', 'tagesspiegel.de', 'the-ken.com', 'theinformation.com', ' themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'welt.de', 'ynet.co.il'].concat(nl_ad_region_domains);