Skip to content

Commit

Permalink
update: item details
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jun 24, 2024
1 parent ca8b06e commit 1044bc7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/filters/videoFilter/pages/homepage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
UploaderKeywordAction,
UploaderWhitelistAction,
} from './actions/action'
import { GM_getValue } from '$'

const homepagePageVideoFilterGroupList: Group[] = []

Expand All @@ -24,7 +23,7 @@ let isContextMenuFuncRunning = false
let isContextMenuUploaderEnable = false
let isContextMenuBvidEnable = false
// 带已关注tag的视频不被过滤
let isFollowingWhitelistEnable: boolean = GM_getValue('BILICLEANER_homepage-following-whitelist-filter-status', true)
let isFollowingWhitelistEnable = true

if (isPageHomepage()) {
let videoListContainer: HTMLElement
Expand Down
2 changes: 1 addition & 1 deletion src/rules/homepage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ if (isPageHomepage()) {
background-color: unset !important;
border-radius: unset !important;
margin: 0 2px 0 0 !important;
font-size: unset !important;
font-size: 0 !important;
line-height: unset !important;
padding: unset !important;
user-select: none !important;
Expand Down
6 changes: 0 additions & 6 deletions src/rules/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,12 +708,6 @@ if (isPageVideo() || isPagePlaylist() || isPageFestival()) {
description: '隐藏 高赞弹幕前点赞按钮',
itemCSS: `.bili-dm .bili-high-icon {display: none !important}`,
}),
// 隐藏 爆炸特效弹幕
new CheckboxItem({
itemID: 'video-page-bpx-player-bili-dm-boom',
description: '隐藏 爆炸特效弹幕',
itemCSS: `.bili-boom {display: none !important}`,
}),
// 彩色渐变弹幕 变成白色
new CheckboxItem({
itemID: 'video-page-bpx-player-bili-dm-vip-white',
Expand Down

0 comments on commit 1044bc7

Please sign in to comment.