Refresh when streamer goes live

Also unmutes and refreshes on video player error.

La data de 16-04-2025. Vezi ultima versiune.

Autor
Dragosarus
Rating-uri
0 0 0
Versiune
2025-04-16
Creat
16-04-2025
Actualizat
16-04-2025
Size
3,47 KB
Compatibilitate
Compatibil cu Firefox
Licență
Unlicense
Se aplică pe

Have you ever had a streamer's chat opened, waiting for them to go live? But when they do you don't notice because Twitch doesn't actually start the video player?

This scripts periodically checks whether the streamer has gone live, and refreshes the page if they have. Once the page has been refreshed, it waits for the page to load (10 seconds by default) and then navigates back to the chat view.

By default, it also:

  • Unmutes if the video player is muted after refreshing (UNMUTE_AFTER_RELOAD);
  • Refreshes the page (again) if the video player encounters an error (RELOAD_ON_ERROR).

NOTE: If your Twitch page is not in English, you may need to update SELECTORS.unmute for the script to unmute the stream.