您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Forces YouTube autoplay toggle to be visible
This userscript ensures that the Autoplay toggle button on YouTube remains visible at all times by forcing its display via a CSS rule.
YouTube sometimes hides the Autoplay toggle depending on screen size, playback context, or internal UI updates. This script ensures the element with aria-label~="Autoplay"
is always displayed.
[aria-label~="Autoplay"]
to use display: inline !important
.document-start
) for maximum consistency.<style>
element containing the CSS rule is injected into the document <head>
.MutationObserver
monitors DOM changes and ensures the CSS persists through YouTube's single-page navigation system.data-autoplay-fix
attribute to prevent multiple injections.aria-label
for the autoplay button (e.g., localizing it or renaming it), you may need to update the selector.QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址