1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-25 11:52:52 +01:00
TwitchAdSolutions/README.md
2020-12-22 18:45:20 +00:00

1.5 KiB

TwitchAdSolutions

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

Current solutions

  • dyn
    • Ad segments are replaced by a low resolution stream segments (on a m3u8 level).
    • Stuttering and looping of segments my occur.
  • dyn-video-swap
    • Ads are replaced by a low resolution stream which is swapped with the original stream for the duration of the ad.
    • Similar to dyn, but may have a larger jump in time.
  • low-res
    • No ads.
    • The stream is 480p for the duration of the stream.
  • mute-black
    • Ads are muted / blacked out for the duration of the ad.

Other solutions / projects

Applying a solution (uBlock Origin)

uBlock Origin solutions single files, suffixed by ublock-origin.js e.g. low-res-ublock-origin.js.

  • 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

NOTE/TODO

Many of these solutions could do with improvements. Ports to UserScript should also be made.