YouTube Dark Theme

A light, dark theme for YouTube with easy toggle on and off and scheduling support. This theme is based on the default YouTube theme

什么是YouTube Dark Theme?

YouTube Dark Theme是由MeryDev开发的Chrome扩展程序,该扩展的主要功能是“A light, dark theme for YouTube with easy toggle on and off and scheduling support. This theme is based on the default YouTube theme”。

扩展截图

screenshot

下载YouTube Dark Theme扩展crx文件

下载YouTube Dark Theme扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        "Dark Theme for YouTube" extension converts YouTube theme to a highly customizable dark charcoal/blue theme. This extension is built on top of the default YouTube theme (native dark theme) so it is very light-weighted compare to using themes injected by Stylish or Stylus extensions.

Features:
Turn on and off from the action button to switch between light and dark themes
Accepts scheduling to turn on only on the specified period
Customize default color scheme
Inject custom CSS to alter the default theme (change font-size or font-family for instance)

How does this extension work?
This extension alters a cookie globally to turn the dark theme on and off. It also injects a lite script to the YouTube pages to alter the color scheme of the root element. In oppose to the other similar extensions, there is no resetting of the default theme or inverting the white theme with an inversion filter. Both of these methods are computationally inefficient. Instead, this extension asks YouTube to turn the native dark theme and only alter the global CSS variables to alter the colors.
Note that this method only works if the product supports native coloring. Some Google products do not yet support this feature.

Privacy Policy: 
This extension does not send or receive any data to any server whatsoever.

Bug Report:
Please either use the commenting section of the FAQs page or the GitHub page for bug reporting.

Change Log:
0.2.0
Use the built-in dark theme (Material Design only)                    

扩展基本信息

名称 YouTube Dark Theme YouTube Dark Theme
ID icgoeaddhagkbjnnigiblfebijeinfme
官方URL https://chromewebstore.google.com/detail/youtube-dark-theme/icgoeaddhagkbjnnigiblfebijeinfme
简介 A light, dark theme for YouTube with easy toggle on and off and scheduling support. This theme is based on the default YouTube theme
文件大小 86.58 KB
安装次数 79,144
当前版本 0.4.1
更新时间 2022-12-27
上架时间 2020-05-08
评分 4.24/5 共213次评分
开发者 MeryDev
电子邮箱 [email protected]
付费类型 free
扩展官网 http://add0n.com/dark-theme.html?from=youtube
帮助页面URL http://add0n.com/dark-theme.html?from=youtube
隐私政策页面URL https://add0n.com/policies/mery.dev.txt
支持的语言 de,en,fr,nl,da,et,it,hu,fi,cs,el,bg,zh-CN,ja
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "YouTube Dark Theme",
    "description": "__MSG_description__",
    "default_locale": "en",
    "version": "0.4.1",
    "manifest_version": 3,
    "permissions": [
        "storage",
        "cookies",
        "alarms",
        "idle"
    ],
    "host_permissions": [
        "*:\/\/*.youtube.com\/*"
    ],
    "background": {
        "service_worker": "worker.js"
    },
    "homepage_url": "https:\/\/add0n.com\/dark-theme.html?from=youtube",
    "icons": {
        "16": "data\/icons\/16.png",
        "32": "data\/icons\/32.png",
        "48": "data\/icons\/48.png",
        "64": "data\/icons\/64.png",
        "128": "data\/icons\/128.png",
        "256": "data\/icons\/256.png",
        "512": "data\/icons\/512.png"
    },
    "action": [],
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*.youtube.com\/*"
            ],
            "js": [
                "data\/inject.js"
            ],
            "run_at": "document_start",
            "all_frames": true
        }
    ],
    "options_ui": {
        "page": "data\/options\/index.html"
    }
}