Skip to content

Instantly share code, notes, and snippets.

@Namorzyny
Last active May 20, 2023 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Namorzyny/2098bc46aa8bd09aaf80029156090e5b to your computer and use it in GitHub Desktop.
Save Namorzyny/2098bc46aa8bd09aaf80029156090e5b to your computer and use it in GitHub Desktop.
bilibili: purge all useless functions and contents
/* ==UserStyle==
@name bilibili: purge all useless functions and contents
@namespace github.com/Namorzyny
@version 2023.5.21
@description Purge all useless functions and contents
@author Namorzyny
==/UserStyle== */
@-moz-document domain("bilibili.com") {
a.banner-card,
.bili-banner,
.contact-help,
.first-screen,
.gg-floor-module,
.mobile-link-l,
.ad-report,
#slide_ad,
#bili_live,
#bili_guochuang,
#bili_report_spe_rec,
#activity_vote {
display: none !important;
}
.mini-header {
position: unset;
background: lightslategray;
}
.bili-header__bar {
position: unset !important;
background: steelblue;
}
.bili-header__banner {
display: none !important;
}
.bili-header .slide-down {
position: fixed !important;
}
#elevator {
top: unset !important;
bottom: 50px;
}
#bilibili_pbp,
#danmukuBox,
.bilibili-player-video-danmaku,
.bilibili-player-video-bas-danmaku,
.bilibili-player-video-adv-danmaku,
.bpx-player-video-danmaku,
.bpx-player-video-bas-danmaku,
.bpx-player-video-adv-danmaku,
.bilibili-player-video-danmaku-root,
.bpx-player-dm-root {
display: none !important;
}
a.face >i,
.sailing,
.level-link,
.nameplate,
.user-auth-subscript,
.h-vipType,
.bili-avatar-icon {
display: none !important;
}
div.user >a.vip-red-name,
a.is-vip {
color: #6d757a !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment