Youtube Dubbing
Click the plugin to auto-translate YouTube videos and play the audio in your preferred language.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "__MSG_name__",
"description": "__MSG_description__",
"version": "1.8.0",
"icons": {
"16": "icon/16.png",
"32": "icon/32.png",
"48": "icon/48.png",
"96": "icon/96.png",
"128": "icon/128.png"
},
"default_locale": "zh_CN",
"web_accessible_resources": [
{
"resources": [
"images/*"
],
"matches": [
"*://*/*"
]
},
{
"resources": [
"injectedScript.js"
],
"matches": [
"*://*/*"
]
},
{
"resources": [
"content-scripts/medata.css"
],
"matches": [
"*://*/*"
]
},
{
"resources": [
"content-scripts/notify.css"
],
"matches": [
"*://*/*"
]
}
],
"permissions": [
"tabs",
"storage",
"cookies",
"contextMenus"
],
"host_permissions": [
"*://*.youtube.com/*",
"<all_urls>"
],
"background": {
"service_worker": "background.js"
},
"action": {
"default_title": "YouTube-Dubbing",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"*://*/*"
],
"run_at": "document_end",
"css": [
"content-scripts/content.css"
],
"js": [
"content-scripts/content.js"
]
},
{
"matches": [
"*://*/*"
],
"run_at": "document_start",
"js": [
"content-scripts/medata.js",
"content-scripts/notify.js"
]
}
]
}