mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-20 16:22:52 +02:00
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:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user