Jaidyn Ann
a41b7a70cf
Now we don’t run a hardcoded command when the address-bar button is pressed, but the command configured for that URL. Also, we only enable the address-bar button for tabs whose URL is matched by some command.
45 lines
692 B
JSON
45 lines
692 B
JSON
{
|
|
"manifest_version": 2,
|
|
"name": "Shellfox",
|
|
"version": "0.1",
|
|
|
|
"description": "Run command-line programs from Firefox, easily.",
|
|
"homepage_url": "https://hak.xwx.moe/jadedctrl/shellfox",
|
|
|
|
"icons": {
|
|
"48": "res/shellfox.png"
|
|
},
|
|
|
|
"page_action": {
|
|
"default_icon": {
|
|
"19": "res/shellfox-19.png",
|
|
"38": "res/shellfox-38.png"
|
|
},
|
|
"default_title": "Shellfox"
|
|
},
|
|
|
|
"permissions": [
|
|
"nativeMessaging",
|
|
"activeTab",
|
|
"tabs"
|
|
],
|
|
|
|
"browser_specific_settings": {
|
|
"gecko": {
|
|
"id": "shellfox@xwx.moe",
|
|
"strict_min_version": "57.0"
|
|
}
|
|
},
|
|
|
|
"background": {
|
|
"scripts": [
|
|
"background.js"
|
|
]
|
|
},
|
|
|
|
"options_ui": {
|
|
"page": "options.html",
|
|
"open_in_tab": true
|
|
}
|
|
}
|