diff --git a/README.md b/README.md index 1b74138..fe68e89 100755 --- a/README.md +++ b/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) - diff --git a/background.js b/background.js index 5203b30..fe45f20 100755 --- a/background.js +++ b/background.js @@ -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/' diff --git a/sites.json b/sites.json index a2627c1..0adc571 100644 --- a/sites.json +++ b/sites.json @@ -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",