Refresh when streamer goes live

also unmutes and refreshes on video player error

Från och med 2025-04-16. Se den senaste versionen.

Skapare
Dragosarus
Betyg
0 0 0
Version
2025-04-16
Skapad
2025-04-16
Uppdaterad
2025-04-16
Size
3,47 KB
Kompatibilitet
Kompatibel med Firefox
Licens
Unlicense
Gäller för

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.