Skip to content

Commit

Permalink
Update 484611-youtube-audio-only.user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfung1031 committed Jan 15, 2024
1 parent 7aa5995 commit 6d888c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 484611-youtube-audio-only.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name YouTube: Audio Only
// @description No Video Streaming
// @namespace UserScript
// @version 1.1.1
// @version 1.1.2
// @author CY Fung
// @match https://www.youtube.com/*
// @match https://www.youtube.com/embed/*
Expand Down Expand Up @@ -765,6 +765,7 @@
await delayPn(60);
// await player_.seekToLiveHead(); await delayPn(9);
await player_.seekToStreamTime();
await player_.seekToLiveHead();
await delayPn(60);
}
while (audio.readyState === 0) {
Expand All @@ -776,6 +777,7 @@
await delayPn(60);
// await player_.seekToLiveHead(); await delayPn(9);
await player_.seekToStreamTime();
await player_.seekToLiveHead();
await delayPn(60);
}
}
Expand Down

0 comments on commit 6d888c7

Please sign in to comment.