Automatically mutes the Twitch player when an advertisement started and unmute it once finished. You can also hide ads by setting disableDisplay to true.
< Feedback on Twitch - Mute ads and optionally hide them
I know there's more advanced solutions out there, but i'm not as an expert as the ones that coded them. And i like my solution so as long as i can maintain it to make it work, i'm fine with it.
Thanks for your message and glad it can help you, along a few others.
This script is great, and thank you very much for updating it with the May 2021 class name changes. I was disappointed when audio suddenly started leaking through. When they make us decide between LONG purple screens and accepting ads, this script provides a perfectly usable compromise and makes things bearable again.