Skip to content

Commit 03fefe3

Browse files
committed
优化 模式 3 在 B 站新版搜索页下的显示效果
1 parent 773b01d commit 03fefe3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DarkMode.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 护眼模式
44
// @name:zh-TW 護眼模式
55
// @name:en Dark Mode
6-
// @version 1.4.3
6+
// @version 1.4.4
77
// @author X.I.U
88
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
99
// @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
@@ -396,7 +396,7 @@
396396
case 3:
397397
style += style_31;
398398
if (location.hostname.indexOf('search.bilibili.com') > -1) {
399-
style += `img, .video-item .img .mask-video, .video-item .img .van-danmu, .video-item .img .van-framepreview {filter: none !important;}`
399+
style += `ul.video-list[type="video"] img, ul.video-list[type="video"] .video-item .img .mask-video, ul.video-list[type="video"] .video-item .img .van-danmu, ul.video-list[type="video"] .video-item .img .van-framepreview {filter: none !important;}`
400400
} else if (location.hostname.indexOf('.bilibili.com') > -1) {
401401
style += `#bilibiliPlayer video, .video-item .img .mask-video, .video-item .img .van-danmu, .video-item .img .van-framepreview {filter: none !important;} #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3, #bilibiliPlayer {box-shadow: none !important;} * {font-weight: bold !important;}`
402402
} else if (location.hostname.indexOf('.huya.com') > -1) {

0 commit comments

Comments
 (0)