diff --git a/README.md b/README.md index 61689e3..4ae28c7 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/background.js b/background.js index 53b2db5..ad6847f 100644 --- a/background.js +++ b/background.js @@ -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 diff --git a/manifest.json b/manifest.json index 96f94a8..ce8e684 100644 --- a/manifest.json +++ b/manifest.json @@ -44,5 +44,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.5.3" + "version": "1.5.4" } \ No newline at end of file diff --git a/updates.json b/updates.json index 52180c2..1058a8e 100644 --- a/updates.json +++ b/updates.json @@ -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" } ] } }