Skip to content

bilibili 自用去广告 by bowencool

Mirrored from https://raw.githubusercontent.com/bowencool/Tampermonkey-Scripts/main/bilibili-remove-ads.user.css

Screenshot of bilibili 自用去广告

Details

Authorbowencool

LicenseNo License

Categorybilibili.com

Created

Updated

Size807 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

B 站去广告

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         bilibili 自用去广告
@version      0.1.7
@description  B 站去广告
@author       bowencool
@license      MIT
@namespace    bilibili.com
@supportURL   https://github.com/bowencool/Tampermonkey-Scripts/issues
==/UserStyle== */

@-moz-document domain("www.bilibili.com") {
  .note-content .preview-editor * {
    user-select: text;
  }
  [role="caption"] {
    user-select: text !important;
  }
  .pop-live-small-mode,
  [data-loc-id],
  .bili-vote.bili-show, /* 投票 */
  .bili-cmtime.bili-show, /* 心动按钮 */
  .video-page-special-card-small {
    display: none !important;
  }
  /* 首页所有非视频卡片 */
  :is(.bili-video-card, .feed-card, .floor-single-card):not(:has(a[href^="https://www.bilibili.com/video"]))
  {
    display: none !important;
  }
}

Reviews

No reviews yet.