Prerequisite: Have Ublock Origin
Go to your extensions and click on the three dots next to Ublock Origin
Select “Manage Extension”
Select “Extension Options”
Under “Settings”, select “I am an advanced user”
Select the cog icon next to “I am an advanced user”. A new page will open up.
At the bottom of the new page, locate “userResourcesLocation”. This will be set to “unset”. Delete “unset” and paste in “https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/video-swap-new/video-swap-new-ublock-origin.js”
It will look something like this: “userResourcesLocation https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/video-swap-new/video-swap-new-ublock-origin.js”
Select “Apply changes” in the top left.
Go back to the Ublock dashboard and select “My Filters” in the top panel.
In line 1, paste “twitch.tv##+js(twitch-videoad)”
Select “Apply changes”
Close and reopen your browser.
You will now have no Twitch advertisements