mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:27:48 +01:00
Remove Handelsblatt
This commit is contained in:
parent
d2bbb83e30
commit
de8a8f11f9
5 changed files with 3 additions and 26 deletions
|
@ -476,7 +476,6 @@ Grouped in options:\
|
||||||
[Die Zeit](https://www.zeit.de) -
|
[Die Zeit](https://www.zeit.de) -
|
||||||
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
|
||||||
[Freie Presse](https://www.freiepresse.de) -
|
[Freie Presse](https://www.freiepresse.de) -
|
||||||
[Handelsblatt](https://www.handelsblatt.com)* -
|
|
||||||
[Kölner Stadt-Anzeiger](https://www.ksta.de) -
|
[Kölner Stadt-Anzeiger](https://www.ksta.de) -
|
||||||
[Kölnische Rundschau](https://www.rundschau-online.de) -
|
[Kölnische Rundschau](https://www.rundschau-online.de) -
|
||||||
[Krautreporter.de](https://krautreporter.de) -
|
[Krautreporter.de](https://krautreporter.de) -
|
||||||
|
|
|
@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
Post-release
|
Post-release
|
||||||
Add Estado de Minas (Brazil)
|
Add Estado de Minas (Brazil)
|
||||||
Add The Irish Times
|
Add The Irish Times
|
||||||
|
Remove Handelsblatt
|
||||||
Remove Study.com (fix obsolete)
|
Remove Study.com (fix obsolete)
|
||||||
Fix LesEchos.fr (refresh)
|
Fix LesEchos.fr (refresh)
|
||||||
Fix Quartz (newsletter)
|
Fix Quartz (newsletter)
|
||||||
|
|
|
@ -416,7 +416,7 @@ else {
|
||||||
csDone = true;
|
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')) {
|
if (matchDomain('allgaeuer-zeitung.de')) {
|
||||||
let url = window.location.href;
|
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')) {
|
else if (matchDomain('krautreporter.de')) {
|
||||||
let paywall = document.querySelector('.article-paywall');
|
let paywall = document.querySelector('.article-paywall');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
|
|
|
@ -253,7 +253,6 @@
|
||||||
"*://*.haaretz.co.il/*",
|
"*://*.haaretz.co.il/*",
|
||||||
"*://*.haaretz.com/*",
|
"*://*.haaretz.com/*",
|
||||||
"*://*.haarlemsdagblad.nl/*",
|
"*://*.haarlemsdagblad.nl/*",
|
||||||
"*://*.handelsblatt.com/*",
|
|
||||||
"*://*.harpers.org/*",
|
"*://*.harpers.org/*",
|
||||||
"*://*.haz.de/*",
|
"*://*.haz.de/*",
|
||||||
"*://*.hbr.org/*",
|
"*://*.hbr.org/*",
|
||||||
|
|
7
sites.js
7
sites.js
|
@ -720,11 +720,6 @@ var defaultSites = {
|
||||||
block_regex: /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
block_regex: /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
||||||
useragent: "bingbot"
|
useragent: "bingbot"
|
||||||
},
|
},
|
||||||
"Handelsblatt (non-premium articles only)": {
|
|
||||||
domain: "handelsblatt.com",
|
|
||||||
allow_cookies: 1,
|
|
||||||
useragent: "googlebot"
|
|
||||||
},
|
|
||||||
"Harper's Magazine": {
|
"Harper's Magazine": {
|
||||||
domain: "harpers.org"
|
domain: "harpers.org"
|
||||||
},
|
},
|
||||||
|
@ -2141,4 +2136,4 @@ var usa_theathletic_domains = grouped_sites['###_usa_theathletic'];
|
||||||
|
|
||||||
// sites with no fix (background)
|
// 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 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);
|
||||||
|
|
Loading…
Reference in a new issue