1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 18:32:46 +01:00
Go to file
pixeltris f5bbf0b893 Remove ad click overlay from mute-black / dyn-video-swap
- Also support for play/pause state of player
2020-12-22 19:42:48 +00:00
dyn Initial implementations 2020-12-22 18:43:13 +00:00
dyn-video-swap Remove ad click overlay from mute-black / dyn-video-swap 2020-12-22 19:42:48 +00:00
low-res Initial implementations 2020-12-22 18:43:13 +00:00
mute-black Remove ad click overlay from mute-black / dyn-video-swap 2020-12-22 19:42:48 +00:00
README.md typo 2020-12-22 19:15:03 +00:00

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 may 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.