Files
webextensions-examples/user-agent-rewriter/manifest.json
Jonathan Nakandala 6785c46c89 Changed URL to httpbin.org in the permissions
It looks like in a previous change the website used to demonstrate the
useragent rewriting was changed but the addon permission wasn't updated
so the demonstration didn't work.
2017-03-29 11:20:05 +01:00

27 lines
732 B
JSON

{
"description": "Adds browser action icon to toolbar to choose user agent string from popup menu. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#user-agent-rewriter",
"manifest_version": 2,
"name": "user-agent-rewriter",
"version": "1.0",
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/user-agent-rewriter",
"icons": {
"48": "icons/person-48.png"
},
"permissions": [
"webRequest", "webRequestBlocking", "https://httpbin.org/*"
],
"background": {
"scripts": ["background.js"]
},
"browser_action": {
"default_icon": "icons/person-32.png",
"default_title": "Choose a user agent",
"default_popup": "popup/choose_ua.html"
}
}