diff --git a/README.md b/README.md index 2610bde..4e08637 100644 --- a/README.md +++ b/README.md @@ -476,7 +476,6 @@ Grouped in options:\ [Die Zeit](https://www.zeit.de) - [Frankfurter Allgemeine Zeitung](https://www.faz.net) - [Freie Presse](https://www.freiepresse.de) - -[Handelsblatt](https://www.handelsblatt.com)* - [Kölner Stadt-Anzeiger](https://www.ksta.de) - [Kölnische Rundschau](https://www.rundschau-online.de) - [Krautreporter.de](https://krautreporter.de) - diff --git a/changelog.txt b/changelog.txt index 81a9452..5bc6cf2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Estado de Minas (Brazil) Add The Irish Times +Remove Handelsblatt Remove Study.com (fix obsolete) Fix LesEchos.fr (refresh) Fix Quartz (newsletter) diff --git a/contentScript.js b/contentScript.js index 1c10968..b358536 100644 --- a/contentScript.js +++ b/contentScript.js @@ -416,7 +416,7 @@ else { csDone = true; } -} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net', 'handelsblatt.com'])) {//germany/austria/switzerland - ch +} else if (window.location.hostname.match(/\.(de|at|ch)$/) || matchDomain(['faz.net'])) {//germany/austria/switzerland - ch if (matchDomain('allgaeuer-zeitung.de')) { let url = window.location.href; @@ -583,23 +583,6 @@ else if (matchDomain('freiepresse.de')) { } } -else if (matchDomain('handelsblatt.com')) { - let url = window.location.href; - if (url.match(/\/amp(\d)?\./)) { - let amp_ads = document.querySelectorAll('amp-ad, amp-embed'); - removeDOMElement(...amp_ads); - } else { - let paywall = document.querySelector('div.temp-paywall1'); - let amphtml = document.querySelector('link[rel="amphtml"]'); - if (paywall && amphtml) { - removeDOMElement(paywall); - let premium = document.querySelector('meta[content*="PREMIUM"]'); - if (!premium) - window.location.href = amphtml.href; - } - } -} - else if (matchDomain('krautreporter.de')) { let paywall = document.querySelector('.article-paywall'); if (paywall) { diff --git a/manifest.json b/manifest.json index 44f84c4..491d029 100644 --- a/manifest.json +++ b/manifest.json @@ -253,7 +253,6 @@ "*://*.haaretz.co.il/*", "*://*.haaretz.com/*", "*://*.haarlemsdagblad.nl/*", - "*://*.handelsblatt.com/*", "*://*.harpers.org/*", "*://*.haz.de/*", "*://*.hbr.org/*", diff --git a/sites.js b/sites.js index 71c4ea4..f20766a 100644 --- a/sites.js +++ b/sites.js @@ -720,11 +720,6 @@ var defaultSites = { block_regex: /haaretz\.co\.il\/htz\/js\/inter\.js/, useragent: "bingbot" }, - "Handelsblatt (non-premium articles only)": { - domain: "handelsblatt.com", - allow_cookies: 1, - useragent: "googlebot" - }, "Harper's Magazine": { domain: "harpers.org" }, @@ -2141,4 +2136,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', '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', 'wiwo.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', 'handelsblatt.com', 'hln.be', 'ilmanifesto.it', 'ilsole24ore.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', 'wiwo.de', 'ynet.co.il'].concat(nl_ad_region_domains);