Fix ft.com

This commit is contained in:
ghost 2019-02-20 19:42:13 -08:00
parent 6aa5609682
commit 0718039382
4 changed files with 4 additions and 3 deletions

View File

@ -67,6 +67,7 @@ Winston-Salem Journal (journalnow.com)\
Wired (wired.com)
### New site requests:
Only large or major sites will be considered. No small sites or local newspapers.
1. Visit an article on the site you want to bypass the paywall for and copy the article title.
2. Open up a new incognito window (Ctrl+Shift+N) and paste the article title into Google.
3. Click on the same article from the Google search results page. If it loads without a paywall you can [submit a request](https://github.com/iamadamdev/bypass-paywalls-firefox/issues/new) to add the site, otherwise my extension cannot bypass it either.

View File

@ -196,7 +196,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("wsj.com") !== -1) {
if (details.url.indexOf("wsj.com") !== -1 || details.url.indexOf("ft.com") !== -1) {
requestHeader.value = 'https://www.facebook.com/';
} else {
requestHeader.value = 'https://www.google.com/';

View File

@ -20,5 +20,5 @@
"page": "options.html"
},
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"version": "1.4.5"
"version": "1.4.6"
}

View File

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='dcpihecpambacapedldabdbpakmachpb'>
<updatecheck codebase='https://github.com/iamadamdev/bypass-paywalls-chrome/releases/download/v1.4.5/bypass-paywalls-chrome.crx' version='1.4.5' />
<updatecheck codebase='https://github.com/iamadamdev/bypass-paywalls-chrome/releases/download/v1.4.6/bypass-paywalls-chrome.crx' version='1.4.6' />
</app>
</gupdate>