mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-19 07:48:32 +02:00
72dfcf1bad
* 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
33 lines
536 B
JSON
33 lines
536 B
JSON
{
|
|
|
|
"manifest_version": 2,
|
|
"name": "Proxy-blocker",
|
|
"description": "Uses the proxy API to block requests to specific hosts.",
|
|
"version": "2.0",
|
|
|
|
"icons": {
|
|
"48": "icons/block.svg",
|
|
"96": "icons/block.svg"
|
|
},
|
|
|
|
"applications": {
|
|
"gecko": {
|
|
"strict_min_version": "56.0a1"
|
|
}
|
|
},
|
|
|
|
"background": {
|
|
"scripts": [
|
|
"background/proxy-handler.js"
|
|
]
|
|
},
|
|
|
|
"options_ui": {
|
|
"page": "options/options.html",
|
|
"browser_style": true
|
|
},
|
|
|
|
"permissions": ["proxy", "storage", "<all_urls>"]
|
|
|
|
}
|