暂停YouTube视频时,自动翻译当前字幕。还可以自动跳广告噢

Latest Version

Version
1.91
Update
May 19, 2022
Size
793KiB
Developer
Category
Users
10,000+
Rating
4.29412 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
WebNavigation
Storage
See more

YouTube 字幕翻译 Extension

1.10 暂停YouTube视频,自动翻译当前字幕
1.20 新增自动跳广告功能
1.90 新增多语言支持

这个小插件的制作过程:https://zhuanlan.zhihu.com/p/98619067
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "YouTube \u5b57\u5e55\u7ffb\u8bd1", "manifest_version": 3, "version": "1.91", "description": "\u6682\u505cYouTube\u89c6\u9891\u65f6\uff0c\u81ea\u52a8\u7ffb\u8bd1\u5f53\u524d\u5b57\u5e55\u3002\u8fd8\u53ef\u4ee5\u81ea\u52a8\u8df3\u5e7f\u544a\u5662", "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" }}
Read more