141
|
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
|
142
|
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 `);
|