TranSmart
Support selected text translation, web page translation, web page has a variety of display modes.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"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"
],
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"content/content.js"
],
"all_frames": true,
"run_at": "document_idle",
"css": [
"static/css/tgt.css"
]
}
],
"manifest_version": 3,
"background": {
"service_worker": "./background/background.js"
},
"action": {
"default_icon": "/images/icon-128.png",
"default_title": "__MSG_extName__",
"default_popup": "popup/popup.html"
},
"options_page": "options/options.html",
"host_permissions": [
"<all_urls>"
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"web_accessible_resources": [
{
"resources": [
"static/css/content.css",
"*.woff2"
],
"matches": [
"<all_urls>"
]
}
]
}