声译
Base Level Extension
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "声译",
"description": "Base Level Extension",
"version": "1.0",
"manifest_version": 2,
"browser_action": {
"default_popup": "index.html",
"default_icon": {
"16": "img/16.png",
"19": "img/19.png",
"20": "img/20.png",
"32": "img/32.png",
"38": "img/38.png",
"40": "img/40.png",
"64": "img/64.png",
"128": "img/128.png"
}
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Ctrl+Shift+F",
"mac": "MacCtrl+Shift+F"
},
"description": "Opens hello.html"
}
},
"content_scripts": [
{
"matches": [
"*://*.youtube.com/*"
],
"js": [
"js/youtube_trans.js"
],
"run_at": "document_end"
}
],
"permissions": [
"cookies",
"https://tongchuan.xunku.org:11451/"
],
"background": {
"scripts": [
"js/jquery-3.5.1.min.js",
"js/background.js"
],
"persistent": true
},
"icons": {
"16": "img/16.png",
"19": "img/19.png",
"20": "img/20.png",
"32": "img/32.png",
"38": "img/38.png",
"40": "img/40.png",
"64": "img/64.png",
"128": "img/128.png"
},
"web_accessible_resources": [
"img/tongchuan_icon1.png",
"img/tongchuan_icon2.png"
]
}