mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-27 19:37:04 +02:00
Add proxy example (#225)
* Add proxy example * Updated after review comments
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
|
||||
"manifest_version": 2,
|
||||
"name": "Proxy-blocker",
|
||||
"description": "Uses the proxy API to block requests to specific hosts.",
|
||||
"version": "1.0",
|
||||
|
||||
"icons": {
|
||||
"48": "icons/block.svg",
|
||||
"96": "icons/block.svg"
|
||||
},
|
||||
|
||||
"applications": {
|
||||
"gecko": {
|
||||
"strict_min_version": "55.0a1"
|
||||
}
|
||||
},
|
||||
|
||||
"background": {
|
||||
"scripts": [
|
||||
"background/proxy-handler.js"
|
||||
]
|
||||
},
|
||||
|
||||
"options_ui": {
|
||||
"page": "options/options.html"
|
||||
},
|
||||
|
||||
"permissions": ["proxy", "storage"]
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user