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.
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.