Mercurial > ec-userscripts
annotate discord-remove-top-bar.user.js @ 147:15ec4ec958d7 default tip
Sentence case name and match filename (sort of)
author | nanaya <me@nanaya.net> |
---|---|
date | Sat, 27 Sep 2025 15:06:06 +0900 |
parents | bfd72865c243 |
children |
rev | line source |
---|---|
141 | 1 // ==UserScript== |
147
15ec4ec958d7
Sentence case name and match filename (sort of)
nanaya <me@nanaya.net>
parents:
144
diff
changeset
|
2 // @name Discord remove top bar |
141 | 3 // @namespace https://nanaya.net |
4 // @match https://discord.com/* | |
5 // @grant GM_addStyle | |
144 | 6 // @version 1.0.1 |
141 | 7 // @author nanaya |
8 // @description Fix discord redundant bar on the top | |
144 | 9 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/discord-remove-top-bar.user.js |
141 | 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 `); |