您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
enforces youtubes built in darker dark theme feature flag. This is currently a beta feature that only a small percentage of people have
// ==UserScript== // @name youtube darker dark theme enabler // @version 1.0 // @description enforces youtubes built in darker dark theme feature flag. This is currently a beta feature that only a small percentage of people have // @author Cat Bot // @license MIT // @match *://*.youtube.com/* // @namespace https://www.reddit.com/user/Cat_Bot4 // @icon https://www.youtube.com/favicon.ico // @grant none // ==/UserScript== (function() { window['yt'] = window['yt'] || {}; yt['config_'] = yt.config_ || {}; yt.config_['EXPERIMENT_FLAGS'] = yt.config_.EXPERIMENT_FLAGS || {}; var iv = setInterval(function() { yt.config_.EXPERIMENT_FLAGS.web_darker_dark_theme = true; //set this to false if you already have this feature but want to disable it }, 1); var to = setTimeout(function() { clearInterval(iv); }, 1000) })();