您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Disable autoplay on Youtube when You're in any playlist.
// ==UserScript== // @name Youtube disable playlist autoplay // @namespace http://tampermonkey.net/ // @version 1.0.2 // @description Disable autoplay on Youtube when You're in any playlist. // @author You // @match https://www.youtube.com/* // @grant none // ==/UserScript== // youtube disable playlist autoplay var refreshIntervalId = setInterval(function(){ if (document.querySelector('#movie_player > div.html5-video-container > video').currentTime > document.querySelector('#movie_player > div.html5-video-container > video').duration-1){ document.querySelector('#movie_player > div.html5-video-container > video').pause() ; } } , 200); // low load, optimized ver. // you may want to use following code instead of the above. To use this one, just comment out following one and do comment the above one. // var refreshIntervalId = setInterval(function(){ // if (document.querySelector('#movie_player > div.html5-video-container > video').currentTime > document.querySelector('#movie_player > div.html5-video-container > video').duration-2){ // document.querySelector('#movie_player > div.html5-video-container > video').pause() ; // } // } , 970);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址