YouTube 字幕翻译
暂停YouTube视频时,自动翻译当前字幕。还可以自动跳广告噢
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "YouTube 字幕翻译",
"manifest_version": 3,
"version": "1.91",
"description": "暂停YouTube视频时,自动翻译当前字幕。还可以自动跳广告噢",
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup/popup.html",
"default_icon": "images/icon48.png"
},
"permissions": [
"webNavigation",
"storage"
],
"host_permissions": [
"https://translate.google.com/"
],
"externally_connectable": {
"matches": [
"http://*.youtube.com/*",
"https://*.youtube.com/*"
],
"accepts_tls_channel_id": false
},
"content_scripts": [
{
"matches": [
"http://*.youtube.com/*",
"https://*.youtube.com/*"
],
"js": [
"youtube.js",
"skipad.js"
],
"css": [
"style.css"
]
}
],
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
}
}