您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hides the Expandable Metadata box from YouTube search results.
// ==UserScript== // @name Hide YouTube Expandable Metadata Box In Search Results // @description Hides the Expandable Metadata box from YouTube search results. // @namespace slysnake96 & ChatGPT // @version 2 // @license MIT // @grant none // @match *://www.youtube.com/* // ==/UserScript== (function() { 'use strict'; var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { var metadata = mutation.target.querySelector('#expandable-metadata'); if (metadata) { metadata.style.display = 'none'; } var newMetadata = mutation.target.querySelectorAll('.metadata-snippet-container.style-scope.ytd-video-renderer.style-scope.ytd-video-renderer, .metadata-snippet-container-one-line.style-scope.ytd-video-renderer.style-scope.ytd-video-renderer'); if (newMetadata) { for (var i = 0; i < newMetadata.length; i++) { newMetadata[i].style.display = 'none'; } } }); }); observer.observe(document, { childList: true, subtree: true }); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址