1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 10:22:51 +01:00
TwitchAdSolutions/README.md
2020-12-22 19:11:24 +00:00

1.7 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 for the duration of the ad.
    • Similar to dyn, but may have a larger jump in time.
    • You might see tiny bits of the ad.
    • Audio controls wont work whilst the ad is playing.
  • 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.
    • You might see tiny bits of the ad.

Applying a solution (uBlock Origin)

uBlock Origin solutions are 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 https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/dyn/dyn-ublock-origin.js

Other solutions / projects

NOTE/TODO

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