Update proxy-blocker extension to be compatible with firefox 56+ (#260)

* Update `proxy-blocker` extension to be compatible with firefox 56+

* Change `DIRECT 1234` to `DIRECT` see bug https://bugzilla.mozilla.org/show_bug.cgi?id=1355198
This commit is contained in:
Phil Rukin
2017-08-11 14:48:55 +02:00
committed by wbamberg
parent 050b5fa9d0
commit 980168290f
4 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ const defaultSettings = {
}
// Register the proxy script
browser.proxy.registerProxyScript(proxyScriptURL);
browser.proxy.register(proxyScriptURL);
// Log any errors from the proxy script
browser.proxy.onProxyError.addListener(error => {

View File

@@ -12,7 +12,7 @@
"applications": {
"gecko": {
"strict_min_version": "55.0a1"
"strict_min_version": "56.0a1"
}
},

View File

@@ -1,7 +1,7 @@
/* exported FindProxyForURL */
var blockedHosts = [];
const allow = "DIRECT 1234";
const allow = "DIRECT";
const deny = "PROXY 127.0.0.1:65535";
// tell the background script that we are ready