Mercurial > ec-userscripts
comparison discord_remove_top_bar.user.js @ 141:1321d44ce5df
Add discord remove top bar
author | nanaya <me@nanaya.net> |
---|---|
date | Wed, 26 Mar 2025 16:33:11 +0900 |
parents | |
children | 3a5015322602 |
comparison
equal
deleted
inserted
replaced
140:b4bb74b34ae9 | 141:1321d44ce5df |
---|---|
1 // ==UserScript== | |
2 // @name Discord Remove Top Bar | |
3 // @namespace https://nanaya.net | |
4 // @match https://discord.com/* | |
5 // @grant GM_addStyle | |
6 // @version 1.0.0 | |
7 // @author nanaya | |
8 // @description Fix discord redundant bar on the top | |
9 // @downloadURL https://hg.nanaya.net/ec_userscripts/raw_file/tip/discord_remove_top_bar.user.js | |
10 // ==/UserScript== | |
11 | |
12 'use strict'; | |
13 | |
14 /* global GM_addStyle */ | |
15 GM_addStyle(` | |
16 :root { | |
17 --custom-app-top-bar-height: 0px !important; | |
18 --custom-channel-header-height: 58px !important; | |
19 } | |
20 [class^="bar_"] { | |
21 opacity: 0 !important; | |
22 } | |
23 [data-list-id="guildsnav"] > [class^="itemsContainer_"] > div { | |
24 padding-top: 10px !important; | |
25 } | |
26 `); |