mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
15 lines
477 B
JavaScript
15 lines
477 B
JavaScript
async function skipChargeList()
|
|
{
|
|
const video = await SpinQuery.select(() => document.querySelector("video"));
|
|
video && video.addEventListener("ended", async () =>
|
|
{
|
|
const jumpButton = await SpinQuery.select(() => document.querySelector(".bilibili-player-electric-panel-jump"));
|
|
jumpButton && jumpButton.click();
|
|
});
|
|
}
|
|
if (Observer.videoChange)
|
|
{
|
|
Observer.videoChange(skipChargeList);
|
|
}
|
|
else
|
|
{ Observer.childList("#bofqi", skipChargeList); } |