Mercurial > ec-userscripts
comparison discord-remove-top-bar.user.js @ 144:bfd72865c243
Uh, kebab case filename?
author | nanaya <me@nanaya.net> |
---|---|
date | Sat, 27 Sep 2025 14:52:48 +0900 |
parents | discord_remove_top_bar.user.js@3a5015322602 |
children | 15ec4ec958d7 |
comparison
equal
deleted
inserted
replaced
143:385d07e4a81b | 144:bfd72865c243 |
---|---|
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.1 | |
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 `); |