您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Set discord top bar height to 10px to save screen space
// ==UserScript== // @name Discord set top bar height // @namespace http://tampermonkey.net/ // @version 2025-03-27 // @description Set discord top bar height to 10px to save screen space // @author Glease // @match https://discord.com/channels/* // @icon https://www.google.com/s2/favicons?sz=64&domain=discord.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; window.setTimeout(function() { var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = ':root { --custom-app-top-bar-height: 10px; }'; document.getElementsByTagName('head')[0].appendChild(style); }, 1000) // Your code here... })();