一键翻译
右键打开谷歌,翻译所选文字。
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"name": "__MSG_extName__",
"description": "__MSG_description__",
"version": "1.8.0",
"default_locale": "zh_CN",
"browser_action": {
"default_icon": {
"19": "icons/icon.png",
"38": "icons/icon.png"
}
},
"background": {
"scripts": [
"t_lib/lib.js",
"t_lib/command.js",
"t_lib/receiver.js",
"t_lib/wordlocator.js",
"js/state.js",
"js/background.js",
"js/pref.js"
]
},
"content_scripts": [
{
"js": [
"t_lib/lib.js",
"t_lib/sender.js",
"t_lib/translator.js",
"js/textanalytics.js",
"js/translate.js",
"js/wordmap.js"
],
"matches": [
"http://*/*",
"https://*/*"
],
"all_frames": true,
"run_at": "document_end"
}
],
"permissions": [
"tabs",
"webRequest",
"webRequestBlocking",
"http://*/*",
"https://*/*",
"storage",
"activeTab",
"contextMenus"
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';",
"icons": {
"128": "icons/icon.png"
},
"update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}