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