Add Clarín (Argentina)
Facebook referer for ft.com removed.
This commit is contained in:
parent
1dcde10e41
commit
242cfeeefe
@ -223,6 +223,7 @@ Visit the [Firefox repository](https://github.com/magnolia1234/bypass-paywalls-f
|
|||||||
|
|
||||||
#### Latin America
|
#### Latin America
|
||||||
##### Argentina
|
##### Argentina
|
||||||
|
[Clarín](https://www.clarin.com) -
|
||||||
[La Nación](https://www.lanacion.com.ar)
|
[La Nación](https://www.lanacion.com.ar)
|
||||||
##### Brazil
|
##### Brazil
|
||||||
[Exame](https://exame.abril.com.br) –
|
[Exame](https://exame.abril.com.br) –
|
||||||
|
@ -19,6 +19,7 @@ var allow_cookies = [
|
|||||||
'barrons.com',
|
'barrons.com',
|
||||||
'bostonglobe.com',
|
'bostonglobe.com',
|
||||||
'cairnspost.com.au',
|
'cairnspost.com.au',
|
||||||
|
'clarin.com',
|
||||||
'couriermail.com.au',
|
'couriermail.com.au',
|
||||||
'dailytelegraph.com.au',
|
'dailytelegraph.com.au',
|
||||||
'dn.se',
|
'dn.se',
|
||||||
@ -320,7 +321,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||||||
// this fixes images not being loaded on cooking.nytimes.com main page
|
// this fixes images not being loaded on cooking.nytimes.com main page
|
||||||
// referrer has to be *nytimes.com otherwise returns 403
|
// referrer has to be *nytimes.com otherwise returns 403
|
||||||
requestHeader.value = 'https://cooking.nytimes.com';
|
requestHeader.value = 'https://cooking.nytimes.com';
|
||||||
} else if (details.url.indexOf("ft.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
} else if (details.url.indexOf("clarin.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
||||||
requestHeader.value = 'https://www.facebook.com/';
|
requestHeader.value = 'https://www.facebook.com/';
|
||||||
} else {
|
} else {
|
||||||
requestHeader.value = 'https://www.google.com/';
|
requestHeader.value = 'https://www.google.com/';
|
||||||
@ -336,7 +337,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||||||
|
|
||||||
// otherwise add it
|
// otherwise add it
|
||||||
if (!setReferer) {
|
if (!setReferer) {
|
||||||
if (details.url.indexOf("ft.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
if (details.url.indexOf("clarin.com") !== -1 || details.url.indexOf("kleinezeitung.at") !== -1) {
|
||||||
requestHeaders.push({
|
requestHeaders.push({
|
||||||
name: 'Referer',
|
name: 'Referer',
|
||||||
value: 'https://www.facebook.com/'
|
value: 'https://www.facebook.com/'
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
"Challenges": "challenges.fr",
|
"Challenges": "challenges.fr",
|
||||||
"Chemical & Engineering News": "cen.acs.org",
|
"Chemical & Engineering News": "cen.acs.org",
|
||||||
"Chicago Tribune": "chicagotribune.com",
|
"Chicago Tribune": "chicagotribune.com",
|
||||||
|
"Clarín": "clarin.com",
|
||||||
"CommonWealth Magazine Taiwan": "cw.com.tw",
|
"CommonWealth Magazine Taiwan": "cw.com.tw",
|
||||||
"Corriere Della Sera": "corriere.it",
|
"Corriere Della Sera": "corriere.it",
|
||||||
"Crain's Chicago Business": "chicagobusiness.com",
|
"Crain's Chicago Business": "chicagobusiness.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user