Skip to content

Commit

Permalink
fix: hide comment #130
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Sep 8, 2024
1 parent ce94baa commit 6fa832b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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.11.2

- 更新:播放页 评论区过滤
- 修复:隐藏评论区失效

## 3.11.1

Expand Down
4 changes: 2 additions & 2 deletions src/rules/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,14 +494,14 @@ if (isPageBangumi() || isPageVideo() || isPageDynamic() || isPageSpace() || isPa
new CheckboxItem({
itemID: 'video-page-hide-comment',
description: '隐藏 视频评论区 (播放页/番剧页)',
itemCSS: `#comment bili-comments, #comment-module bili-comments {display: none !important;}`,
itemCSS: `#commentapp bili-comments, #comment-module {display: none !important;}`,
}),
// 隐藏 动态评论区 (动态页/空间页)
new CheckboxItem({
itemID: 'dynamic-page-hide-all-comment',
description: '隐藏 动态评论区 (动态页/空间页)',
itemCSS: `
.bili-comment-container, .bili-tabs {display: none !important;}
.comment-wrap bili-comments {display: none !important;}
.bili-opus-view {border-radius: 6px !important;}
.opus-detail {margin-bottom: 10px !important; min-height: unset !important;}
#app .content .dyn-tabs {display: none !important;}
Expand Down

0 comments on commit 6fa832b

Please sign in to comment.