1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-25 11:52:52 +01:00
Go to file
pixeltris 044d1fb3bb Fix worker hook #236
- Inject into every worker
- Remove unused proxy code from vaft
- Add additional source stream request to vaft
- Make log inside hookWorkerFetch consistent between vaft/video-swap-new
2024-04-12 12:46:45 +01:00
vaft Fix worker hook #236 2024-04-12 12:46:45 +01:00
video-swap-new Fix worker hook #236 2024-04-12 12:46:45 +01:00
full-list.md Update additional userscript notes 2024-02-24 08:31:47 +00:00
README.md Update lists / recommendations 2024-02-23 13:16:06 +00:00

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.

Also see this list maintained by @zGato.

Scripts

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

  • video-swap-new - userscript / ublock / ublock (permalink)
    • Uses a lower resolution stream during ads.
    • You may notice a seemingly random player reload some time after the ad message is gone.
  • vaft - userscript / ublock / ublock (permalink)
    • The same as video-swap-new but attempts to get a clean stream faster (may suffer from more freezing / playback issues).

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://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/video-swap-new/video-swap-new-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.

For the sake of security it's recommended to use a permalink when using uBlock Origin (permalinks do not auto update).

The scripts may randomly stop being applied by uBlock Origin for unknown reasons (#200). It's recommended to use the userscript versions instead.

Applying a script (userscript)

  • Viewing one of the userscript files should prompt the given script to be added (assuming you have a userscript manager).