您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Restores the old YouTube Studio button styles and layout (pre-June 2024)
// ==UserScript== // @name Old YouTube Studio Restorer (Pre-Jun 2024) // @namespace https://greasyfork.org/users/yourname // @version 1.0 // @description Restores the old YouTube Studio button styles and layout (pre-June 2024) // @author YourName // @match https://studio.youtube.com/* // @icon https://www.youtube.com/s/desktop/6d82a3a2/img/favicon_32x32.png // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; const customStyles = document.createElement("style"); customStyles.textContent = ` ytcp-button[type="outline-filled"] { padding-left: 16px; padding-right: 16px; } ytcp-header:not([modern]) #create-icon.ytcp-header { color: var(--ytcp-text-primary-inverse); } #create-icon paper-ripple.ytcp-button { color: var(--ytcp-call-to-action-raised-ripple); } `; customStyles.classList.add("custom-yt-studio-styles"); customStyles.type = "text/css"; document.querySelector("html").appendChild(customStyles); const ytStudioInterval = setInterval(() => { document.querySelectorAll("[modern]").forEach(el => { el.removeAttribute("modern"); }); }, 100); })();