Also, any plugin that Twitch doesn't like (for example TTV LOL) is detected and will prevent a log in. You'll need to disable the plugin to login, but can use it after logging in.
Oh my fucking god this is a huge pain point for me. I couldn't find a solution so I resorted to importing the cookie from my laptop but looks like smarter people than me have figured it out.
If it's not a deal-breaker, you can disable it just the one time to log in. Once you're logged in, cookies handle the rest and you can re-enable all your blockers and privacy features.
Streamlink + chatterino + VLC is a fucking great combination
Use chatterino to open the stream with streamlink, the stream will open in VLC and you can watch and chat with that combination.
It's not ad supported, in fact you'll find twitch will give you a bright purple placeholder in place of ads trying to convince you to use the browser... Then everything just works, and works well.
Also if there are issues with VLC crashing, I recommend MPV as it handles malformed stream data a little better. VLC will work great 99% of the time on twitch though.