1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 02:12:45 +01:00
Go to file
pixeltris 874766a5ed Bump userscript version missed in previous commit
Also update ublock perma links
2022-08-22 20:43:15 +01:00
base Fix broken site functionality #50 #45 2021-10-14 14:36:13 +01:00
bypass Don't apply "bypass" on vods 2021-11-06 12:15:08 +00:00
low-res Update downloadURL for low-res solution 2021-01-06 15:14:42 -05:00
notify-reload Fix broken site functionality #50 #45 2021-10-14 14:36:13 +01:00
notify-strip Bump userscript version missed in previous commit 2022-08-22 20:43:15 +01:00
notify-swap Bump userscript version missed in previous commit 2022-08-22 20:43:15 +01:00
strip-alt Script improvements #17 #24 #28 2021-06-12 05:35:11 +01:00
vaft Fix 360p issue on "vaft" 2022-04-04 12:01:50 +01:00
full-list.md Add store links for fork of "Video Ad-Block, for Twitch" 2022-04-02 18:40:12 +01:00
README.md Bump userscript version missed in previous commit 2022-08-22 20:43:15 +01:00
utils.bat Add page for testing m3u8 modifications and latency 2020-12-28 06:22:10 +00:00
utils.cs Fix 360p issue on "vaft" 2022-04-04 12:01:50 +01:00
utils.js Add page for testing m3u8 modifications and latency 2020-12-28 06:22:10 +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:

  • Video Ad-Block, for Twitch (fork) - chrome / firefox / code
  • Alternate Player for Twitch.tv - chrome / firefox
  • notify-strip / notify-swap / vaft - see below

Read this for a full list and descriptions.

Scripts

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

  • notify-strip - ublock / userscript / ublock (permalink)
    • 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-swap - ublock / userscript / ublock (permalink)
    • The same as notify-strip with a slightly different method to fix freezing issues (especially on Firefox).
    • The ad/non-ad transition takes slightly longer than notify-strip.
  • vaft - ublock / userscript / ublock (permalink)
    • Video Ad-Block, for Twitch (fork) as a script.
  • low-res - ublock / userscript / ublock (permalink)
    • No ads.
    • The stream is 480p for the duration of the stream.

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

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.

If you are also using uBlock Origin you must add twitch.tv#@#+js(twitch-videoad) to your filter list.