music.youtube.com auto continue playback

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

Author
q1k
Daily installs
0
Total installs
31
Ratings
0 0 0
Version
1.4.1
Created
Updated
License
N/A
Applies to

Author's Description

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.