Skip to content

Commit

Permalink
feat: video page hide bili-avatar-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Mar 25, 2024
1 parent 053df1a commit af57c49
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.2.1

- 新增:播放页隐藏UP主头像icon

## 3.2.0

- 新增:评论区过滤器(用户过滤、评论关键词过滤)
Expand Down
11 changes: 10 additions & 1 deletion src/rules/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,16 @@ if (isPageVideo() || isPagePlaylist()) {
itemID: 'video-page-hide-up-bili-avatar-pendent-dom',
description: '隐藏 UP主头像外饰品',
itemCSS: `.up-info-container .bili-avatar-pendent-dom {display: none !important;}
.up-avatar-wrap .up-avatar {background-color: transparent !important;}`,
.up-avatar-wrap {width: 48px !important; height:48px !important;}
.up-avatar-wrap .up-avatar {background-color: transparent !important;}
.up-avatar-wrap .bili-avatar {width: 48px !important; height:48px !important; transform: unset !important;}`,
}),
// 隐藏 UP主头像icon
new CheckboxItem({
itemID: 'video-page-hide-up-bili-avatar-icon',
description: '隐藏 UP主头像icon',
itemCSS: `.up-info-container .bili-avatar-icon {display: none !important;}
.up-info-container .bili-avatar-nft-icon {display: none !important;}`,
}),
// 隐藏 创作团队header, 默认开启
new CheckboxItem({
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default defineConfig({
userscript: {
name: 'bilibili 页面净化大师',
namespace: 'http://tampermonkey.net/',
version: '3.2.0',
version: '3.2.1',
description:
'净化 B站/哔哩哔哩 网页元素,去广告,BV号转AV号,播放器净化,过滤视频,过滤评论,提供300+项功能,定制自己的B站页面',
author: 'festoney8',
Expand Down

0 comments on commit af57c49

Please sign in to comment.