mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add promotion popup and danmaku block (fix #4565)
This commit is contained in:
parent
66307a7049
commit
879f1951a7
@ -48,6 +48,10 @@ const options = defineOptionsMetadata({
|
||||
displayName: '禁用UP主弹幕',
|
||||
defaultValue: true,
|
||||
},
|
||||
upSlogan: {
|
||||
displayName: '禁用带货弹幕',
|
||||
defaultValue: true,
|
||||
},
|
||||
vip: {
|
||||
displayName: '禁用大会员弹幕',
|
||||
defaultValue: true,
|
||||
|
||||
@ -37,3 +37,14 @@ body.disable-vip-danmaku-style {
|
||||
--textShadow: var(--danmaku-text-shadow);
|
||||
}
|
||||
}
|
||||
body.disable-upSlogan-danmaku-style {
|
||||
.bili-upslogan {
|
||||
padding: 0 !important;
|
||||
opacity: var(--opacity) !important;
|
||||
font-weight: var(--fontWeight) !important;
|
||||
background-color: transparent !important;
|
||||
img {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,5 +51,9 @@ export const component = defineComponentMetadata({
|
||||
defaultValue: true,
|
||||
displayName: '预告',
|
||||
},
|
||||
promotions: {
|
||||
defaultValue: true,
|
||||
displayName: '心动',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@ -50,5 +50,12 @@ body {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
// https://www.bilibili.com/video/BV1Qe411d7LM/?t=221
|
||||
&-promotions {
|
||||
.bili-cmtime,
|
||||
.bpx-player-cmtime {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user