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
|
||||
##### Argentina
|
||||
[Clarín](https://www.clarin.com) -
|
||||
[La Nación](https://www.lanacion.com.ar)
|
||||
##### Brazil
|
||||
[Exame](https://exame.abril.com.br) –
|
||||
|
@ -19,6 +19,7 @@ var allow_cookies = [
|
||||
'barrons.com',
|
||||
'bostonglobe.com',
|
||||
'cairnspost.com.au',
|
||||
'clarin.com',
|
||||
'couriermail.com.au',
|
||||
'dailytelegraph.com.au',
|
||||
'dn.se',
|
||||
@ -320,7 +321,7 @@ chrome.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 (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/';
|
||||
} else {
|
||||
requestHeader.value = 'https://www.google.com/';
|
||||
@ -336,7 +337,7 @@ chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
||||
|
||||
// otherwise add it
|
||||
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({
|
||||
name: 'Referer',
|
||||
value: 'https://www.facebook.com/'
|
||||
|
@ -14,6 +14,7 @@
|
||||
"Challenges": "challenges.fr",
|
||||
"Chemical & Engineering News": "cen.acs.org",
|
||||
"Chicago Tribune": "chicagotribune.com",
|
||||
"Clarín": "clarin.com",
|
||||
"CommonWealth Magazine Taiwan": "cw.com.tw",
|
||||
"Corriere Della Sera": "corriere.it",
|
||||
"Crain's Chicago Business": "chicagobusiness.com",
|
||||
|
Loading…
x
Reference in New Issue
Block a user