A low-tech solution to a high-tech problem! Automatically clicks YouTube's "Dark Mode" button if dark mode isn't already active.
< 脚本Automatic Material Dark-Mode for YouTube的反馈
Not quite sure how to edit this to fix it.
YouTube updated so now the Appearance menu has 3 clickable items. First item is now called "Use device theme".
Need to change behavior so user script finds yt-formatted-string element by text, "Dark theme", i.e. innerHTML instead of CSS selector to click on.
yt-formatted-string
innerHTML
登录(不可用)以发表回复。
土豆服务器,请按需使用
镜像地址随时可能被墙,建议加群获取最新地址
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
YouTube breakage with user script
Not quite sure how to edit this to fix it.
YouTube updated so now the Appearance menu has 3 clickable items. First item is now called "Use device theme".
Need to change behavior so user script finds
yt-formatted-string
element by text, "Dark theme", i.e.innerHTML
instead of CSS selector to click on.