Remove KleineZeitung.at (obsolete)

This commit is contained in:
magnolia1234 2020-06-21 14:32:38 +02:00
parent e3ef95e7ed
commit 661d328ca1
4 changed files with 3 additions and 7 deletions

View file

@ -177,8 +177,7 @@ Install add-on by downloading xpi-file.
[Valeurs Actuelles](https://www.valeursactuelles.com)
##### Germany/Austria
[Frankfurter Allgemeine Zeitung](https://www.faz.net) -
[Handelsblatt](https://www.handelsblatt.com) -
[Kleine Zeitung](https://www.kleinezeitung.at)
[Handelsblatt](https://www.handelsblatt.com)
##### Italy
[Corriere Della Sera](https://www.corriere.it) -
[Il Manifesto](https://ilmanifesto.it) -

View file

@ -44,7 +44,6 @@ var allow_cookies = [
'independent.ie',
'inkl.com',
'intelligentinvestor.com.au',
'kleinezeitung.at',
'lc.nl',
'lrb.co.uk',
'mexiconewsdaily.com',
@ -437,7 +436,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
// this fixes images not being loaded on cooking.nytimes.com main page
// referrer has to be *nytimes.com otherwise returns 403
requestHeader.value = 'https://cooking.nytimes.com';
} else if (matchUrlDomain(['clarin.com', 'kleinezeitung.at', 'fd.nl'], details.url)) {
} else if (matchUrlDomain(['clarin.com', 'fd.nl'], details.url)) {
requestHeader.value = 'https://www.facebook.com/';
} else {
requestHeader.value = 'https://www.google.com/';
@ -453,7 +452,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
// otherwise add it
if (!setReferer) {
if (matchUrlDomain(['clarin.com', 'kleinezeitung.at', 'fd.nl'], details.url)) {
if (matchUrlDomain(['clarin.com', 'fd.nl'], details.url)) {
requestHeaders.push({
name: 'Referer',
value: 'https://www.facebook.com/'

View file

@ -120,7 +120,6 @@
"*://*.irishtimes.com/*",
"*://*.japantimes.co.jp/*",
"*://*.journalnow.com/*",
"*://*.kleinezeitung.at/*",
"*://*.labusinessjournal.com/*",
"*://*.ladepeche.fr/*",
"*://*.lanacion.com.ar/*",

View file

@ -68,7 +68,6 @@ var defaultSites =
"Inkl": "inkl.com",
"Intelligent Investor": "intelligentinvestor.com.au",
"Irish Independent": "independent.ie",
"Kleine Zeitung": "kleinezeitung.at",
"L'Écho": "lecho.be",
"L'Opinion": "lopinion.fr",
"La Dépêche": "ladepeche.fr",