Mercurial > ec-userscripts
view discord_remove_top_bar.user.js @ 142:3a5015322602 default tip
Fix path
author | nanaya <me@nanaya.net> |
---|---|
date | Wed, 26 Mar 2025 16:49:00 +0900 |
parents | 1321d44ce5df |
children |
line wrap: on
line source
// ==UserScript== // @name Discord Remove Top Bar // @namespace https://nanaya.net // @match https://discord.com/* // @grant GM_addStyle // @version 1.0.0 // @author nanaya // @description Fix discord redundant bar on the top // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/discord_remove_top_bar.user.js // ==/UserScript== 'use strict'; /* global GM_addStyle */ GM_addStyle(` :root { --custom-app-top-bar-height: 0px !important; --custom-channel-header-height: 58px !important; } [class^="bar_"] { opacity: 0 !important; } [data-list-id="guildsnav"] > [class^="itemsContainer_"] > div { padding-top: 10px !important; } `);