您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Changes YT-Mix-Playlist to only point to the video shown on the thumbnail.
// ==UserScript== // @name AntiAnnoyingYTFunctions // @namespace https://github.com/RedCommander735 // @version 1.2 // @description Changes YT-Mix-Playlist to only point to the video shown on the thumbnail. // @author RedCommander735 // @icon https://www.google.com/s2/favicons?sz=64&domain=github.io // @grant none // @match *.youtube.com/* // @license WTFPL // ==/UserScript== (() => { "use strict"; //download button // var downloadButton = setInterval(function() { // if (document.getElementsByTagName("ytd-download-button-renderer").length) { // //console.log("DB exists!"); // document.getElementsByTagName("ytd-download-button-renderer")[0].remove(); // clearInterval(downloadButton); // } // }, 100); // check every 100ms //mix playlists setInterval(function() { if (document.getElementsByTagName("ytd-thumbnail-overlay-bottom-panel-renderer").length) { //console.log("MP exists!"); let list = document.getElementsByTagName("ytd-thumbnail-overlay-bottom-panel-renderer")[0].parentElement.parentElement let url = list.href.split('&list=')[0] list.href = url } }, 1000); // check every 1s })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址