Add KleineZeitung.at
parent
33ed7c73be
commit
bf261345ac
11
README.md
11
README.md
|
@ -88,9 +88,9 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
|||
[Daily Press](https://www.dailypress.com) -
|
||||
[Hartford Courant](https://www.courant.com) -
|
||||
[Los Angeles Business Journal](labusinessjournal.com) -
|
||||
[Los Angeles Times](https://www.latimes.com) -
|
||||
[Miami Herald](https://miamiherald.com) -
|
||||
[New York Magazine](https://www.nymag.com) -
|
||||
[Los Angeles Times](https://www.latimes.com) -
|
||||
[OrlandoSentinel](https://orlandosentinel.com) -
|
||||
[Pittsburgh Post Gazette](https://post-gazette.com) -
|
||||
[San Diego Union Tribune](https://sandiegouniontribune.com) -
|
||||
|
@ -133,8 +133,8 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
|||
[The New Statesman](https://www.newstatesman.com) -
|
||||
[The Spectator](https://www.spectator.co.uk) -
|
||||
[The Telegraph](https://www.telegraph.co.uk) -
|
||||
[The Times Literary Supplement](https://www.the-tls.co.uk) -
|
||||
[The Times](https://www.thetimes.co.uk)
|
||||
[The Times](https://www.thetimes.co.uk) -
|
||||
[The Times Literary Supplement](https://www.the-tls.co.uk)
|
||||
##### France/Wallonia
|
||||
[Challenges](https://www.challenges.fr) –
|
||||
[L'Écho](https://lecho.be) -
|
||||
|
@ -143,8 +143,9 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
|||
[Les Échos](https://www.lesechos.fr) -
|
||||
[Libération](https://www.liberation.fr)* –
|
||||
[Valeurs Actuelles](https://www.valeursactuelles.com)
|
||||
##### Germany
|
||||
[Handelsblatt](https://www.handelsblatt.com)
|
||||
##### Germany/Austria
|
||||
[Handelsblatt](https://www.handelsblatt.com) -
|
||||
[Kleine Zeitung](https://www.kleinezeitung.at)
|
||||
##### Italy
|
||||
[Corriere Della Sera](https://www.corriere.it) -
|
||||
[La Repubblica](https://www.repubblica.it) -
|
||||
|
|
|
@ -19,6 +19,7 @@ var allow_cookies = [
|
|||
'haaretz.co.il',
|
||||
'haaretz.com',
|
||||
'handelsblatt.com',
|
||||
'kleinezeitung.at',
|
||||
'lemonde.fr',
|
||||
'mexiconewsdaily.com',
|
||||
'nytimes.com',
|
||||
|
@ -65,7 +66,6 @@ const remove_cookies_select_drop = {
|
|||
// Override User-Agent with Googlebot
|
||||
const use_google_bot = [
|
||||
'barrons.com',
|
||||
'elpais.com',
|
||||
'haaretz.co.il',
|
||||
'haaretz.com',
|
||||
'handelsblatt.com',
|
||||
|
@ -251,7 +251,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||
// if referer exists, set it to google
|
||||
requestHeaders = requestHeaders.map(function (requestHeader) {
|
||||
if (requestHeader.name === 'Referer') {
|
||||
if (details.url.indexOf("ft.com") !== -1) {
|
||||
if (details.url.indexOf("ft.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
||||
requestHeader.value = 'https://www.facebook.com/';
|
||||
} else {
|
||||
requestHeader.value = 'https://www.google.com/';
|
||||
|
@ -267,7 +267,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||
|
||||
// otherwise add it
|
||||
if (!setReferer) {
|
||||
if (details.url.indexOf("ft.com") !== -1) {
|
||||
if (details.url.indexOf("ft.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
||||
requestHeaders.push({
|
||||
name: 'Referer',
|
||||
value: 'https://www.facebook.com/'
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
"Hartford Courant": "courant.com",
|
||||
"Harvard Business Review": "hbr.org",
|
||||
"Inc.com": "inc.com",
|
||||
"Kleine Zeitung": "kleinezeitung.at",
|
||||
"La Nación": "lanacion.com.ar",
|
||||
"La Repubblica": "repubblica.it",
|
||||
"La Stampa": "lastampa.it",
|
||||
|
|
Loading…
Reference in New Issue