Bilibili-Evolved/video/expand-danmaku.js
2018-12-23 18:18:06 +08:00

21 lines
525 B
JavaScript

(() =>
{
return () =>
{
(Observer.childList || Observer.subtree)("#bofqi", () =>
{
SpinQuery.any(
() => $(".bui-collapse-header"),
button =>
{
if (parseInt($(".bui-collapse-body").css("height")) === 0 &&
$(".bui-collapse-arrow-text").text() === "展开")
{
button.click();
}
}
);
});
};
})();