您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes the recent changes to YouTube's watch page
// ==UserScript== // @name Youtube Watch Page Fix // @namespace lightbeam // @version 1.0.1 // @description Removes the recent changes to YouTube's watch page // @author lightbeam // @match *://www.youtube.com/* // @grant none // @license MIT License // ==/UserScript== (function() { ApplyCSS(); function ApplyCSS() { var styles = document.createElement("style"); styles.innerHTML=` /* Temporary fixes. THESE WILL NOT WORK THE NEXT TIME YOUTUBE UPDATES ITS CODE. */ ytd-watch-metadata { display: none !important; } #meta-contents[hidden], #info-contents[hidden] { display: block !important; } /* Permanent fixes. For when the temporary fixes stop working. */ /* Removes second comment section, */ #comment-teaser.ytd-watch-metadata { display: none; } /* Removes border around creator's name and sub button. NOTE: This part doesn't work anymore, but keeping it for now just in case it starts working again. */ #owner.ytd-watch-metadata { border: none; } /* Removes border around creator's name and sub button. */ ytd-watch-metadata:not([modern-metapanel]) #owner.ytd-watch-metadata { border: none; } /* Reverts the video title font. */ ytd-watch-metadata[smaller-yt-sans-light-title] h1.ytd-watch-metadata { font-family: "Roboto",sans-serif; font-weight: 400; font-size: 18px; } ytd-video-primary-info-renderer[use-yt-sans20-light] .title.ytd-video-primary-info-renderer { font-family: "Roboto",sans-serif; font-weight: 400; font-size: 18px; } /* Removes the bold letters on upload date and view count. */ .yt-formatted-string[style-target="bold"] { font-weight: 400; }` document.head.appendChild(styles); } })();