Skip to content

Commit

Permalink
update: rules
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Aug 22, 2024
1 parent 0fb8a36 commit 44e7cf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/filters/video/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ if (isPageVideo() || isPageBangumi() || isPagePlaylist()) {
) {
checkVideoList(fullSite)
.then(() => {
checkRelated().then().catch()
isRelatedFilterEnable && checkRelated().then().catch()
})
.catch()
}
Expand Down
4 changes: 3 additions & 1 deletion src/rules/live.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ if (isPageLiveRoom()) {
new CheckboxItem({
itemID: 'live-page-head-info-vm-upper-row-popular',
description: '隐藏 人气',
itemCSS: `#head-info-vm .upper-row .right-ctnr div:has(.icon-popular) {display: none !important;}`,
itemCSS: `#head-info-vm .upper-row .right-ctnr div:has(.icon-popular), #LiveRoomHotrankEntries {display: none !important;}`,
}),
// 隐藏 点赞
new CheckboxItem({
Expand Down Expand Up @@ -327,6 +327,8 @@ if (isPageLiveRoom()) {
defaultStatus: true,
itemCSS: `
.web-player-icon-roomStatus {display: none !important;}
/* 播放器上用途不明的条纹 */
.blur-edges-ctnr {display: none !important;}
/* 部分播放器马赛克 */
.web-player-module-area-mask {backdrop-filter: none !important;}`,
}),
Expand Down

0 comments on commit 44e7cf2

Please sign in to comment.