mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
16 lines
368 B
JavaScript
16 lines
368 B
JavaScript
function expandDanmakuList()
|
|
{
|
|
waitForQuery()(
|
|
() => $(".bui-collapse-header"),
|
|
it => it.length > 0,
|
|
button =>
|
|
{
|
|
if (parseInt($(".bui-collapse-body").css("height")) === 0 &&
|
|
$(".bui-collapse-arrow-text").text() === "展开")
|
|
{
|
|
button.click();
|
|
}
|
|
}
|
|
);
|
|
}
|