Refresh when streamer goes live

Also unmutes and refreshes on video player error.

目前为 2025-04-16 提交的版本。查看 最新版本

作者
Dragosarus
评分
0 0 0
版本
2025-04-16
创建于
2025-04-16
更新于
2025-04-16
大小
3.5 KB
兼容性
与 Firefox 兼容
许可证
Unlicense
适用于

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.