mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
25 lines
823 B
JavaScript
25 lines
823 B
JavaScript
(() =>
|
|
{
|
|
return (_, resources) =>
|
|
{
|
|
runAndObserveDomMutation("#bofqi", () =>
|
|
{
|
|
SpinQuery.count(
|
|
() => $(".bui-slider .bui-track.bui-track-video-progress,.bilibili-player-area .bilibili-player-video-control"),
|
|
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", "bilibili-blur-video-control");
|
|
}
|
|
});
|
|
});
|
|
|
|
return {
|
|
ajaxReload: true
|
|
};
|
|
};
|
|
})(); |