您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable the video autoplay at YouTube channel/user home page
// ==UserScript== // @name s Disable YouTube Channel / User Home Page Video AutoPlay 2024 May // @namespace DisableYouTubeChannelUserHomePageVideoAutoPlayFork // @version 3 // @description Disable the video autoplay at YouTube channel/user home page // @match *://*.youtube.com/* // @grant none // @run-at document-start // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com // @license Public domain // ==/UserScript== (() => { console.log(`${GM.info.script.name} run`) var u var r=_=>{ var v=document.location.href.match(/:\/\/[^\/]+\/(((c(hannel)?|u(ser)?)\/)|@)[^\/]+(\/(about|featured)?)?(\?|$)/) if(u!==v){ u=v ;[...document.querySelectorAll(`video`)].map(x=>{ x.pause() x.volume=0 debugger }) } setTimeout(r,500) } r() })();