Bilibili-Evolved/style/remove-top-mask.js
2019-02-16 19:33:27 +08:00

12 lines
279 B
JavaScript

const id = "bilibili-video-top-mask";
if ($(`#${id}`).length === 0)
{
resources.applyStyleFromText(/*html*/`
<style id='${id}'>
.bilibili-player-video-top
{
display: none !important;
}
</style>
`);
}