mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 14:59:12 +02:00
proxy-blocker updates (#422)
* proxy-blocker updates These changes replace the use of the deprecated `proxy.register` (PAC file) with `proxy.onRequest` to handle the proxying of requests. * Changes as per feedback * Fixed typo * Addressed feedback relating to issue with variable initialization after enable/disable * Typo fix * The changes as suggested by @wbamberg
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Proxy-blocker",
|
||||
"description": "Uses the proxy API to block requests to specific hosts.",
|
||||
"version": "1.0",
|
||||
"version": "2.0",
|
||||
|
||||
"icons": {
|
||||
"48": "icons/block.svg",
|
||||
@@ -27,6 +27,6 @@
|
||||
"browser_style": true
|
||||
},
|
||||
|
||||
"permissions": ["proxy", "storage"]
|
||||
"permissions": ["proxy", "storage", "<all_urls>"]
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user