Skip to content

Commit 8c86d1c

Browse files
committed
feat: video page hide complain btn
1 parent 5a6e017 commit 8c86d1c

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 4.3.17
44

5+
- 新增:播放页 隐藏举报按钮
56
- 优化:夜间模式
67
- 移除:全屏时显示弹幕数,保留在看人数
78
- 更新:部分功能细节

src/modules/rules/common/groups/headerLeft.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ html[common-hide-nav-match] {
152152
}
153153

154154
// 隐藏 百大评选
155-
html[common-hide-nav-bdu] {
156-
.left-entry li:has([href*='UP100.html']) {
157-
display: none !important;
158-
}
159-
}
155+
// html[common-hide-nav-bdu] {
156+
// .left-entry li:has([href*='UP100.html']) {
157+
// display: none !important;
158+
// }
159+
// }
160160

161-
// // 隐藏 BML
161+
// 隐藏 BML
162162
// html[common-hide-nav-bml] {
163163
// .left-entry li:has(a[href*='bml.bilibili.com']) {
164164
// display: none !important;

src/modules/rules/video/groups/toolbar.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ html[video-page-hide-below-info-video-ai-assistant] {
1919
}
2020
}
2121

22+
// 隐藏 举报按钮
23+
html[video-page-hide-below-info-video-complaint] {
24+
.video-toolbar-right .video-complaint {
25+
display: none !important;
26+
}
27+
}
28+
2229
// 隐藏 记笔记
2330
html[video-page-hide-below-info-video-note] {
2431
.video-toolbar-right .video-note {

src/modules/rules/video/groups/toolbar.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ export const videoToolbarItems: Item[] = [
5555
id: 'video-page-hide-below-info-video-ai-assistant',
5656
name: '隐藏 官方AI总结',
5757
},
58+
{
59+
type: 'switch',
60+
id: 'video-page-hide-below-info-video-complaint',
61+
name: '隐藏 举报按钮',
62+
},
5863
{
5964
type: 'switch',
6065
id: 'video-page-hide-below-info-video-note',

0 commit comments

Comments
 (0)