Discord No Title Bar

A simple userstyle that removes Discord's new title bar.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name         Discord No Title Bar
@version      1.0.5
@namespace    discord-no-title-bar
@description  A simple userstyle that removes Discord's new title bar.
@author       Coxxs
@license      MIT
==/UserStyle== */

@-moz-document url-prefix("https://discord.com/") {
/* Remove top bar */
.visual-refresh { --custom-app-top-bar-height: 0px }
.visual-refresh .title__85643 { visibility: hidden }

/* Preserve inbox button */
.visual-refresh .trailing_c38106 { position: absolute; top: 12px; right: 10px; z-index: 101 }
.visual-refresh.density-compact .trailing_c38106 { top: 10px }
.visual-refresh.density-cozy .trailing_c38106 { top: 13px }

/* Provide some space for the inbox */
.visual-refresh .toolbar__9293f { padding-right: 40px }
.visual-refresh .searchBar__1ac1c { margin-right: 35px }

/* Padding above the Discord icon (top left) */
.visual-refresh .tutorialContainer__1f388 { padding-top: 8px }

/* Remove help button */
.visual-refresh .trailing_c38106 > a.anchorUnderlineOnHover_edefb8 { display: none }

/* Remove rounded corner and top border */
.visual-refresh .sidebarListRounded_c48ade { border-top-left-radius: 0 !important; border-top: none !important } /* 2025-04-15 */
.visual-refresh .sidebarListRounded__5e434 { border-top-left-radius: 0 !important; border-top: none !important } /* 2025-11-13 */
.visual-refresh .chat_f75fb0[data-has-border=true] { border-top: none !important }
.visual-refresh .container__133bf, /* Friends */
.visual-refresh .container_f391e3, /* Message Requests */
.visual-refresh .container__01ae2,  /* Message Requests - Messages */
.visual-refresh .homeWrapper__0920e, /* Nitro */
.visual-refresh .shop__6db1d, /* Shop */
.visual-refresh .container_a592e1, /* Discover */
.visual-refresh .container__955a3, /* Quests */
.visual-refresh .container__9293f /* Browse Channels */
    { border-top: none !important }
}