simple-translate/src/manifest-chrome.json

78 lines
1.6 KiB
JSON
Raw Normal View History

2019-02-20 08:10:03 +00:00
{
"manifest_version": 2,
2019-10-20 13:08:52 +00:00
"version": "2.2.0",
2019-02-20 08:10:03 +00:00
"name": "__MSG_extName__",
"description": "__MSG_extDescription__",
"default_locale": "en",
2020-05-01 16:41:49 +00:00
"permissions": [
"<all_urls>",
"storage",
"contextMenus"
],
2019-02-20 08:10:03 +00:00
"options_ui": {
"page": "options/index.html",
"open_in_tab": true
},
"icons": {
"512": "icons/512.png",
"128": "icons/128.png",
"64": "icons/64.png",
"48": "icons/48.png",
"32": "icons/32.png"
},
"background": {
2020-05-01 16:41:49 +00:00
"scripts": [
"background/background.js"
]
2019-02-20 08:10:03 +00:00
},
"browser_action": {
"default_icon": {
"512": "icons/512.png",
"128": "icons/128.png",
"64": "icons/64.png",
"48": "icons/48.png",
"38": "icons/38.png",
"32": "icons/32.png",
"19": "icons/19.png",
"16": "icons/16.png"
},
"default_popup": "popup/index.html"
},
"content_scripts": [
{
"all_frames": true,
"match_about_blank": true,
2020-05-01 16:41:49 +00:00
"matches": [
"http://*/*",
"https://*/*",
"<all_urls>"
],
"js": [
"content/content.js"
],
"css": [
"content/content.css"
]
2019-02-20 08:10:03 +00:00
}
2019-02-21 17:00:25 +00:00
],
2020-05-01 16:41:49 +00:00
"web_accessible_resources": [
"icons/512.png"
],
2019-02-21 17:00:25 +00:00
"commands": {
"_execute_browser_action": {
"description": "__MSG_openPopupDescription__",
"suggested_key": {
2019-02-22 18:53:58 +00:00
"default": "Ctrl+Shift+Space"
2019-02-21 17:00:25 +00:00
}
},
"translateSelectedText": {
"description": "__MSG_translateTextMenu__",
"suggested_key": {
2019-02-22 18:53:58 +00:00
"default": "Ctrl+Space"
2019-02-21 17:00:25 +00:00
}
},
"translatePage": {
"description": "__MSG_translatePageMenu__"
}
}
2020-05-01 16:41:49 +00:00
}