腾讯翻译
腾讯翻译是腾讯发布的一款翻译扩展。
Additional files are visible only to premium users
manifest.json
{
"name": "__MSG_extName__",
"version": "0.5.4",
"default_locale": "zh_CN",
"homepage_url": "https://transmart.qq.com",
"description": "__MSG_extDescription__",
"icons": {
"16": "/images/icon-16.png",
"32": "/images/icon-32.png",
"48": "/images/icon-48.png",
"128": "/images/icon-128.png"
},
"permissions": [
"contextMenus",
"storage",
"tabs"
],
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content/content.js"
],
"all_frames": true,
"run_at": "document_idle",
"css": [
"static/css/tgt.css"
]
}
],
"manifest_version": 2,
"browser_specific_settings": {
"gecko": {
"id": "{386a2b8d-c7a2-457d-9882-983f17a4ad77}",
"strict_min_version": "42.0"
}
},
"content_security_policy": "script-src 'self'; object-src 'self'",
"background": {
"scripts": [
"./background/background.js"
]
},
"web_accessible_resources": [
"static/css/content.css",
"static/css/tgt.css",
"*.woff2"
],
"options_ui": {
"page": "/options/options.html",
"open_in_tab": true
},
"browser_action": {
"default_title": "__MSG_extName__",
"default_icon": "images/icon-32.png",
"default_popup": "popup/popup.html"
}
}