# HG changeset patch # User nanaya # Date 1742974391 -32400 # Node ID 1321d44ce5df743c95f6bd5a266180d6ce28bd22 # Parent b4bb74b34ae9c120b422f74a26990b5efdac2ed3 Add discord remove top bar diff -r b4bb74b34ae9 -r 1321d44ce5df discord_remove_top_bar.user.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/discord_remove_top_bar.user.js Wed Mar 26 16:33:11 2025 +0900 @@ -0,0 +1,26 @@ +// ==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; + } +`);