Refresh when streamer goes live

Also unmutes and refreshes on video player error.

Autor
Dragosarus
Instalaciones diarias
0
Instalaciones totales
1
Calificaciones
0 0 0
Versión
2025-04-16
Creado
16/04/2025
Actualizado
16/04/2025
Tamaño
3.47 KB
Compatibilidad
Compatible con Firefox
Licencia
Unlicense
Funciona en

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.