Skip to content

Commit

Permalink
feat: dyn page hide lottery dyn
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed May 11, 2024
1 parent 04bbb19 commit 98fa1a6
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 @@ -3,6 +3,7 @@
## 3.5.3

- 新增:首页隐藏稍后再看提示语
- 新增:动态页隐藏抽奖动态
- 移除:直播页顶栏右侧动态、签到、互动,适配网页变动
- 移除:版权播放页用手机看选项,适配网页变动

Expand Down
6 changes: 6 additions & 0 deletions src/rules/dynamic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,12 @@ if (isPageDynamic()) {
margin: 0 !important;
}`,
}),
// 隐藏 抽奖动态(含转发)
new CheckboxItem({
itemID: 'hide-dynamic-page-bili-dyn-lottery',
description: '隐藏 抽奖动态(含转发)',
itemCSS: `.bili-dyn-list__item:has([data-type="lottery"]) {display: none !important;}`,
}),
// 隐藏 转发的动态
new CheckboxItem({
itemID: 'hide-dynamic-page-bili-dyn-forward',
Expand Down

0 comments on commit 98fa1a6

Please sign in to comment.