How To Actually Block New Twitch Ads – uBlock Origin Fix [2021]

How to bypass the new twitch.tv pre-roll ads
Like
Like Love Haha Wow Sad Angry
1

Is your AdBlock not working with Twitch anymore?

Twitch recently introduced a new type of advertisements they call mid-roll ads or prerolls and they are annoying to say the least. Simply put, the new mid-roll ads are designed to be unblockable and unskippable.

Unfortunately, Twitch is rather persistent and has found a way to make uBlock Origin not block twitch ads anymore.

Luckily, there are quite a few ways you can still block twitch ads, including the new mid-roll ads.

Fix #1 (Easiest) – TTV ad-block

This is an extension made by the user odensc for one purpose and one purpose only: to block twitch ads. Recently, it was approved as an add-on to FireFox and can be downloaded from the add-on store.

Now, if you’re using Chrome then you’re going to have to tinker with some settings.

How to Install TTV ad-block in Chrome

  1. Download the extension from Github: https://github.com/odensc/ttv-ublock/archive/extension.zip
  2. Extract the zip file anywhere you can easily access
  3. Open Chrome, click on the three dots next to the user icon -> More Tools -> Extensions submenu showing extensions
  4. In the top right corner enable Developer Mode Arrow in the top right corner showing the button that enables developer mode in chrome extension
  5. On the left side click on the button Load unpacked Arrow showing where to click on to install developer extensions
  6. Click on ttv-ublock-extension and press Select Folder how to install ttv-ublock-extension in chrome
  7. The extension should now be installed

Fix #2 (Best) – User Agent Switcher

This is likely the best and most reliable way to block twitch.tv’s new mid-roll ads, but it requires a bit of work.

What this does is it spoofs your browser in order to trick Twitch.tv into thinking you are a bot viewing the site. Consequently, preroll ads should stop playing because bots don’t make the advertisers any money.

Step 1) Download the extension User-Agent Switcher and Manager

Step 2) Set it to White-List Mode

how the user agent switcher options page should look like to block twitch.tv ads
Right click on the User-Agent Switcher and Manager icon and click Options.

Press the radio button next to White-List Mode and type in:


	www.twitch.tv

At the bottom of the page under Custom User-Agent Parsing, copy and paste this code:


{
  "www.twitch.tv": [
    "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
    "Mozilla/5.0 (compatible; AmazonAdBot/1.0; +https://adbot.amazon.com)"
  ]
}

Click the Save button

Step 3) Set the user-agent string

user agent switcher steps shown to spoof the browser into a bot to block twitch.tv preroll ads

Open Twitch.tv and left click on the User-Agent Switcher and Manager icon. At the top there are 2 dropdown menus.

In the first dropdown menu select Bot.

In the second dropdown menu select Misc.

A list of bots should appear, for example:


	Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

Select either Googlebot or AmazonAdBot and click Apply (active window)

Fix #3 – Alternate Player for Twitch.tv

This player replaces the default Twitch.tv video player which bypasses some of the methods they use to prevent adblock from working. Make sure you also have ublock origin installed or ads will appear.

Download links

Fix #4 – uBlock Origin Script

This method should completely block all mid-roll ads from appearing. It uses a custom script that appears to stop the ads from loading in the first place.

However, it may not be a permanent solution. The script has been updated twice now, the first one no longer works. But the script on here should work. If it doesn’t, leave a comment and I’ll update it.

Step 1) Open uBlock Origin’s dashboard

uBlock origin open the dashboard button location
Click on the uBlock Origin icon and click on the 4th button at the bottom row of buttons, just above where it says ^ Less

Step 2) Open the Advanced Settings

arrow showing where to checkmark the option to enable advanced settings
Checkmark the box next to I am an advanced user (required reading)

ublock origin advanced settings gears
Click the cogs or gears that appear next to it.

Step 3) Set a custom userResourcesLocation

ublock origin userResourceslocation script to block twitch.tv mid-roll ads
At the very bottom of the advanced settings page there is a setting called userResourcesLocation. It should look like this:


	userResourcesLocation unset

Click on unset and paste in this URL:


	https://gist.githubusercontent.com/odensc/764900d841cbdd8aa400796001e189f1/raw/ads.js

It should now look like this:


	userResourcesLocation https://gist.githubusercontent.com/odensc/764900d841cbdd8aa400796001e189f1/raw/ads.js

Click the Apply changes button at the top-left corner

Step 4) Purge the cache

ublock origin how to purge the cache
In the uBlock Origin dashboard, at the top next to Settings click on Filter lists.

Click the button Purge all caches then click Update now

Then either use CTRL+F5 to hard reload Twitch or press CTRL+Shift+Delete and delete your browser’s cache.

Fix #5 – Increase ads Playback Speed

This method does not skip the ads but instead allows you to speed them up by up to 16x. It’s technically a workaround, however, it should be immune to any changes Twitch makes to their ads.

To put it differently, the other methods may stop working if Twitch finds a way to bypass them. This one, on the other hand, should continue working.

Install the Video Speed Controller extension:

  1. Click the Video Speed Controller icon in the top right corner of the browser and click Settings
  2. Next to Preferred Speed change the value from 1.8 to 16 and click Save
  3. When an ad appears, press the G key on your keyboard to speed up the ad. Press the G key again when the ad has stopped to get back to normal speeds

Note: Don’t increase the preferred speed value higher than 16x as that appears to be the limit of the video player. Doing so may result in errors and/or the method not working.

Like
Like Love Haha Wow Sad Angry
1

Leave A Comment