User-Agent Switcher
Quickly and easily switch between popular user-agent strings.
Additional files are visible only to premium users
manifest.json
{
"version": "0.3.0",
"manifest_version": 2,
"name": "User-Agent Switcher",
"short_name": "useragent-switcher",
"homepage_url": "https://mybrowseraddon.com/useragent-switcher.html",
"description": "Switch between popular useragent strings from toolbar popup!",
"permissions": [
"storage",
"*://*/*",
"webRequest",
"webRequestBlocking"
],
"background": {
"persistent": true,
"scripts": [
"lib/config.js",
"lib/chrome.js",
"lib/runtime.js",
"lib/webrequest.js",
"lib/common.js"
]
},
"commands": {
"toggle-default-mode": {
"description": "Toggle default UA mode",
"suggested_key": {
"mac": "Command+Shift+D",
"default": "Ctrl+Shift+D"
}
}
},
"browser_action": {
"default_title": "User-Agent Switcher",
"default_popup": "data/popup/popup.html",
"default_icon": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png"
}
},
"content_scripts": [
{
"all_frames": true,
"matches": [
"*://*/*"
],
"run_at": "document_start",
"js": [
"data/content_script/inject.js"
]
}
],
"icons": {
"16": "data/icons/16.png",
"32": "data/icons/32.png",
"48": "data/icons/48.png",
"64": "data/icons/64.png",
"128": "data/icons/128.png"
},
"browser_specific_settings": {
"gecko": {
"id": "{75afe46a-7a50-4c6b-b866-c43a1075b071}"
}
}
}