Automatically switch Youtube to its built-in dark theme.
Premium users can view and search full source code, and see the source code differences
between two versions.
Upgrade to premium
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "__MSG_extensionName__",
"short_name": "YtAutoDark",
"version": "3.1.0",
"author": "Victor Voisin",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://github.com/vvision/yt-auto-dark",
"default_locale": "en",
"icons": {
"16": "icons/icon_16.png",
"32": "icons/icon_32.png",
"48": "icons/icon_48.png",
"96": "icons/icon_96.png",
"128": "icons/icon_128.png"
},
"background": {
"scripts": [
"modules/external/browser-polyfill.min.js",
"core/logger.js",
"core/onInstalled.js"
]
},
"content_scripts": [
{
"matches": [
"*://*.youtube.com/*"
],
"js": [
"modules/external/browser-polyfill.min.js",
"core/logger.js",
"ytAutoDark.js"
]
}
],
"options_ui": {
"page": "pages/options/options.html"
},
"permissions": [
"storage"
],
"applications": {
"gecko": {
"id": "[email protected]"
}
},
"browser_specific_settings": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "60.0"
}
}
}