Bilibili-Evolved/style/remove-top-mask.js
2018-12-20 16:00:30 +08:00

18 lines
396 B
JavaScript

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