Skip to content

Commit

Permalink
feat: search page hide bangumi-pgc-list
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Apr 13, 2024
1 parent 40e0023 commit 101c5a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- 新增:首页视频列表隐藏负反馈菜单(三个点),恢复标题宽度
- 更新:隐藏页底footer适配更多页面
- 新增:首页视频预览隐藏弹幕
- 新增:搜索页隐藏搜索结果顶部的版权作品

## 3.4.3

Expand Down
6 changes: 6 additions & 0 deletions src/rules/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ if (isPageSearch()) {
defaultStatus: true,
itemCSS: `.video-list.row>div:has([href*="cm.bilibili.com"]) {display: none !important;}`,
}),
// 隐藏 搜索结果顶部的版权作品
new CheckboxItem({
itemID: 'hide-search-page-bangumi-pgc-list',
description: '隐藏 搜索结果顶部的版权作品',
itemCSS: `.bangumi-pgc-list {display: none !important;}`,
}),
// 隐藏 弹幕数量, 默认开启
new CheckboxItem({
itemID: 'hide-search-page-danmaku-count',
Expand Down

0 comments on commit 101c5a9

Please sign in to comment.