music.youtube.com auto continue playback

auto continue when it asks to press 'yes' to keep playing

As of 2019-10-07. See the latest version.

نووسەر
q1k
Ratings
0 0 0
وەشان
1.4
Created
2019-09-21
Updated
2019-10-07
Size
7.02 KB
مۆڵەت
نییە
Applies to

image

Are you annoyed when youtube music playback suddenly stops, only to find that it asks for your input to make sure you are still there?

Install this little script and you'll never have to bother with the "You There? Continue playing?" popup. The script will automatically resume playback.

Features:

  • press X to enable/disable auto resuming
  • popup to show the current status (active or inactive) when X is pressed
  • button next to the controls to toggle the playback checker complementary to the hotkey

== IMPORTANT ==

  • Firefox users, you'll have to allow auto-playing of sounds if you want music to start immediately, see attached picture
  • Chrome/Opera users, no additional steps are required, but just to be safe you can allow sounds anyway, see attached picture


Disclaimer: If the 'continue playing popup' appeared, playback may stop for up to 1 second (1000 milliseconds) until it checks again.

If you want this gap to be smaller, then change the variable (check_playback_interval) value in the top from 1000 to a lower one. Just remember, the more often it checks the more resources its going to use.