Fix thesaturdaypaper.com.au

master
Adam 2019-04-28 13:55:05 -07:00
parent b16c802173
commit 660cf792aa
4 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,6 @@
# Bypass Paywalls for Firefox
## [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.3/bypass_paywalls-1.5.3-an+fx.xpi)
## [Download and install the latest version](https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.4/bypass_paywalls-1.5.4-an+fx.xpi)
### Bypass the following sites' paywalls with this extension:

View File

@ -270,8 +270,8 @@ browser.webRequest.onBeforeSendHeaders.addListener(function(details) {
}
}
// override User-Agent except on medium.com
if (details.url.indexOf("medium.com") === -1) {
// override User-Agent except on medium.com and thesaturdaypaper.com.au
if (details.url.indexOf("medium.com") === -1 && details.url.indexOf("thesaturdaypaper.com.au") === -1) {
requestHeaders.push({
"name": "User-Agent",
"value": useUserAgentMobile ? userAgentMobile : userAgentDesktop

View File

@ -44,5 +44,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.5.3"
"version": "1.5.4"
}

View File

@ -20,7 +20,9 @@
{ "version": "1.5.2",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.2/bypass_paywalls-1.5.2-an+fx.xpi" },
{ "version": "1.5.3",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.3/bypass_paywalls-1.5.3-an+fx.xpi" }
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.3/bypass_paywalls-1.5.3-an+fx.xpi" },
{ "version": "1.5.4",
"update_link": "https://github.com/iamadamdev/bypass-paywalls-firefox/releases/download/v1.5.4/bypass_paywalls-1.5.4-an+fx.xpi" }
]
}
}