您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Makes all YouTube icons black on all pages
// ==UserScript== // @name YouTube Black Icons // @namespace http://tampermonkey.net/ // @version 1.0 // @description Makes all YouTube icons black on all pages // @match *://www.youtube.com/* // @grant none // ==/UserScript== (function() { 'use strict'; const style = document.createElement('style'); style.innerHTML = ` /* Target all SVG icons on YouTube */ ytd-icon, yt-icon, #icon, tp-yt-paper-icon-button { fill: black !important; /* Makes icons filled black */ color: black !important; /* Sets text color for icons in buttons */ } /* Additional styling for other YouTube SVGs */ svg path, svg rect, svg circle { fill: black !important; color: black !important; } `; document.head.appendChild(style); })();