Twitch - Mute ads and optionally hide them

Automatically mutes the Twitch player when an advertisement started and unmute it once finished. You can also hide ads by setting disableDisplay to true.

< 脚本 Twitch - Mute ads and optionally hide them 的反馈

提问 / 留言

§
发布于:2025-07-22

Would you like to add GM_setValue and GM_getValue to your userscript? This way, our options could be stored in the script's storage. It could be useful for us to set disableDisplay to true and have other settings preserved across updates. 🤔 You could even preserve adsDisplayed in the script's storage. 🥰

§
发布于:2025-07-22

Maybe something like this: https://gist.githubusercontent.com/sn-o-w/a490b5dba9a36ada0a52cf8fd9c8f396/raw/c962f47d4f250840d2eea116be17bcd5e9ac3f07/userscript-experiment

???

Hope this is useful and you can do other modifications over my modified file. 🥰

§
发布于:2025-07-22

Since I cannot edit my comment anymore, please ignore the above URL and take this into consideration: https://gist.githubusercontent.com/sn-o-w/a490b5dba9a36ada0a52cf8fd9c8f396/raw/12aab8a8c7299a18547d482b590e55674eeb5446/userscript-experiment

🤔

Harest作者
§
发布于:2025-07-23

Hello,

Could be an idea indeed. At first i didn't want to use any grant mainly to not scare anyone. But for this purpose specifically, it could be interesting. Also i wasn't aware const on objects didn't protect their properties. But i still prefer to use var there, to make it clear it's not constants.

Thanks for the submission! I'll see to update the script in the next days probably.

§
发布于:2025-07-23

I didn't just want to suggest a feature request, but to help a little more. 😊

Hope that helps and it is useful. 😎

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址