您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Once a video is hidden, automatically hide the video as well
// ==UserScript== // @name YouTube Subscriptions Page: Hide Hidden Videos // @namespace hideHiddenVideos_kk // @description Once a video is hidden, automatically hide the video as well // @version 0.2 // @author Kai Krause <[email protected]> // @match http://*.youtube.com/* // @match https://*.youtube.com/* // @run-at document-start // @grant none // ==/UserScript== // Youtube's inline loading method may confuse the browser if (!location.href.includes('youtube.com/feed/subscriptions')) return; function autoHideHidden () { var renderers = document.getElementsByTagName('ytd-grid-video-renderer'); for (var i = 0; i < renderers.length; ++i) { var dismissedItem = renderers[i].getAttribute('is-dismissed'); if (dismissedItem === "") { renderers[i].remove(); break; } } } document.addEventListener('click', autoHideHidden);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址