From cfa22f0f5a00c6d32b63217eb67982afdddb4fff Mon Sep 17 00:00:00 2001 From: festoney8 Date: Mon, 22 Jul 2024 15:55:53 +0800 Subject: [PATCH] feat: video page hide bili-cmd-shrink popup --- CHANGELOG.md | 4 ++++ src/rules/video.ts | 6 ++++++ vite.config.ts | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51057801..477b27a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 3.9.4 + +- 新增:隐藏播放器迷你弹窗 + ## 3.9.3 - 修复:部分情况弹幕弹窗屏蔽问题、彩色弹幕变白色问题 diff --git a/src/rules/video.ts b/src/rules/video.ts index 4f8ded6b..d7166b04 100644 --- a/src/rules/video.ts +++ b/src/rules/video.ts @@ -687,6 +687,12 @@ if (isPageVideo() || isPagePlaylist() || isPageFestival()) { description: '隐藏 心动', itemCSS: `.bili-cmtime, .bili-danmaku-x-cmtime {display: none !important;}`, }), + // 隐藏 迷你弹窗 + new CheckboxItem({ + itemID: 'video-page-hide-bpx-player-bili-cmd-shrink', + description: '隐藏 迷你弹窗', + itemCSS: `.bili-cmd-shrink, .bili-danmaku-x-cmd-shrink {display: none !important;}`, + }), // 隐藏 视频预告 new CheckboxItem({ itemID: 'video-page-hide-bpx-player-bili-reserve', diff --git a/vite.config.ts b/vite.config.ts index e1634912..6d5e3132 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ userscript: { name: 'bilibili 页面净化大师', namespace: 'http://tampermonkey.net/', - version: '3.9.3', + version: '3.9.4', description: '净化 B站/哔哩哔哩 页面,支持「精简功能、播放器净化、过滤视频、过滤评论、全站黑白名单」,提供 300+ 功能,定制自己的 B 站', author: 'festoney8',