Subtitles For YouTube
Use this extension to add subtitles available to user to any YouTube video
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 3,
"name": "Subtitles For YouTube",
"description": "Use this extension to add subtitles available to user to any YouTube video",
"version": "10.4.23",
"background": {
"service_worker": "js/background.bundle.js"
},
"content_scripts": [
{
"matches": [
"*://*.youtube.com/*",
"*://*.facebook.com/*",
"*://twitter.com/*",
"*://*.linkedin.com/*"
],
"css": [
"content/css/style.css"
],
"js": [
"js/content-script.bundle.js",
"content/libs/jquery-1.11.1.js",
"content/libs/jquery.xmlrpc.js",
"content/libs/jquery-ui-1.10.3.custom.min.js",
"content/libs/jquery.fileupload.js",
"content/libs/jquery.iframe-transport.js",
"content/libs/jszip.min.js",
"content/libs/gunzip.min.js",
"content/scripts/bubbles-modified.js",
"content/scripts/OpenSubtitles.js",
"content/scripts/ExternalSubtitles.js",
"content/scripts/helper.js",
"content/scripts/myscript.js"
]
}
],
"icons": {
"16": "icon-16.png",
"48": "icon-48.png",
"128": "icon-128.png"
},
"permissions": [
"storage",
"declarativeNetRequest"
],
"host_permissions": [
"*://*.youtube.com/*",
"*://*.facebook.com/*",
"*://api.opensubtitles.org/*",
"*://amara.org/api",
"*://amara.org/*"
],
"web_accessible_resources": [
{
"matches": [
"*://*.youtube.com/*"
],
"resources": [
"content/images/*",
"content/css/style.css",
"content/html/subtitles-tab.html",
"content/html/onboarding.html",
"content/html/subtitles-modal.html"
]
}
]
}