duckyb / TwitchAdSolutions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TwitchAdSolutions

This repo aims to provide multiple solutions for blocking Twitch ads.

Don't combine Twitch specific ad blockers.

Recommendations

Proxies are the most reliable way of avoiding ads (buffering / downtime info).

Alternatively:

Read this for a full list and descriptions.

Scripts

There are better / easier to use methods in the above Recommendations.

  • notify-strip (ublock / userscript)
    • Ad segments are replaced by low resolution stream segments.
    • Notifies Twitch that ads were "watched" (reduces preroll ad frequency).
    • You may experience a small jump in time when the regular stream kicks in.
  • notify-reload (ublock / userscript)
    • Notifies that ads were watched, then reloads the player (preroll only, falls back to notify-strip on midroll).
    • Repeats this until no ads (which may never happen ~ infinite reload).
    • You should expect 3-10 player reloads (give or take). Once successful you shouldn't see preroll ads for a while on any stream (10+ minutes?).
  • low-res (ublock / userscript)
    • No ads.
    • The stream is 480p for the duration of the stream.
  • bypass (ublock / userscript)
    • No ads (no longer works for many people).

Applying a script (uBlock Origin)

  • Navigate to the uBlock Origin Dashboard (the extension options)
  • Under the My filters tab add twitch.tv##+js(twitch-videoad).
  • Under the Settings tab, enable I am an advanced user, then click the cog that appears. Modify the value of userResourcesLocation from unset to the full url of the solution you wish to use (if a url is already in use, add a space after the existing url). e.g. userResourcesLocation https://github.com/pixeltris/TwitchAdSolutions/raw/master/notify-strip/notify-strip-ublock-origin.js
  • To ensure uBlock Origin loads the script I recommend that you disable/enable the uBlock Origin extension (or restart your browser).

To stop using a script remove the filter and make the url unset.

Applying a script (userscript)

  • Viewing one of the userscript files should prompt the given script to be added.

About


Languages

Language:JavaScript 57.1%Language:C# 42.8%Language:Batchfile 0.0%