From 6fa832b3b6d38b746eb3fe262bdf242c02137cd5 Mon Sep 17 00:00:00 2001 From: festoney8 Date: Sun, 8 Sep 2024 17:04:51 +0800 Subject: [PATCH] fix: hide comment #130 --- CHANGELOG.md | 1 + src/rules/comment.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f828650..00c70d8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 3.11.2 - 更新:播放页 评论区过滤 +- 修复:隐藏评论区失效 ## 3.11.1 diff --git a/src/rules/comment.ts b/src/rules/comment.ts index f43ad301..99ff64be 100644 --- a/src/rules/comment.ts +++ b/src/rules/comment.ts @@ -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;}