mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
21 lines
704 B
JavaScript
21 lines
704 B
JavaScript
(() =>
|
|
{
|
|
return (_, resources) =>
|
|
{
|
|
Observer.childListSubtree("#bofqi", () =>
|
|
{
|
|
SpinQuery.count(
|
|
() => $(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-video-control-bottom"),
|
|
2,
|
|
containers =>
|
|
{
|
|
if (!containers.hasClass("video-control-blur-container"))
|
|
{
|
|
containers.addClass("video-control-blur-container");
|
|
containers.prepend(`<div class="video-control-blur-layer"></div>`);
|
|
}
|
|
});
|
|
});
|
|
resources.applyStyle("blurVideoControlStyle");
|
|
};
|
|
})(); |