Twitch - Mute and hide ads, while keeping the audio of the stream on

Automatically mutes and hides the Twitch player when an advertisement started and revert it back to normal once finished. The stream can still be heard during ads. You can also display ads via the "Ads Options" button.

< 脚本 Twitch - Mute and hide ads, while keeping the audio of the stream on 的反馈

评价:好评 - 脚本运行良好

§
发布于:2025-08-13

sometimes just keep showing

Harest作者
§
发布于:2025-08-13
编辑于:2025-08-13

That's an interesting behavior. So the small player top right doesn't close, and the stream continues to be displayed at both places? Or is it a still picture for the small one?

I never had this issue, so i might have a hard time to troubleshoot it. In the console, when this occurs, do you have this line?

"Stream top right hidden detected during the ad. Unhidden."

To open the console it's Ctrl + Shift + J or K depending on the browser.
If yes, as a temporary fix, you can comment the line 195, specifically:

playerHidden.classList.remove(currentSelector.playerHidingDuringAd);

You can do this by adding // in front of it. Maybe they're doing some A/B testing, and the behavior changed there in a way that it's now uneccessary (and counterproductive, cf. your case) to remove that class.

§
发布于:2025-08-14

the stream continues to be displayed at both places


i ii try next time

§
发布于:2025-08-14

something new
i try to use another twitch script
the right small place showing blank
so it might not ur script issue

发布留言

登录以发布留言。