Fix redirect issue

master
Adam 2018-05-10 20:36:28 -07:00
parent 6627369585
commit 20ac8a1ebe
4 changed files with 4 additions and 3 deletions

View File

@ -131,7 +131,7 @@ browser.webRequest.onBeforeSendHeaders.addListener(function(details) {
var isEnabled = enabledSites.some(function(enabledSite) {
var useSite = details.url.indexOf(enabledSite) !== -1;
var useSite = details.url.indexOf("." + enabledSite) !== -1;
if (enabledSite in restrictions) {
return useSite && details.url.indexOf(restrictions[enabledSite]) !== -1;

View File

@ -1,4 +1,5 @@
Updates--
2018-05-10 v1.2.4: Fixed redirect issue
2018-05-05 v1.2.3: Added Bloomberg (bloomberg.com)
2018-04-23 v1.2.2: Added the English Version of Haaretz website (haaretz.com)
2018-04-07 v1.2.1: Open Source'd Bypass Paywalls! Fixed The Economist (economist.com)

View File

@ -28,5 +28,5 @@
"page": "options.html"
},
"permissions": [ "cookies", "<all_urls>", "storage", "webRequest", "webRequestBlocking"],
"version": "1.2.3"
"version": "1.2.4"
}

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
<div style="width:220px;">Bypass Paywalls v1.2.3 by Adam
<div style="width:220px;">Bypass Paywalls v1.2.4 by Adam
<a href="options.html">Options</a></div>
</body>
</html>