1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 18:32:46 +01:00
Go to file
2021-04-25 15:24:11 +01:00
base Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
low-res Update downloadURL for low-res solution 2021-01-06 15:14:42 -05:00
mute-black Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
notify-reload Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
notify-strip Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
notify-strip-reload Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
proxy Remove deprecated and add proxy server example 2021-04-11 23:46:26 +01:00
proxy-m3u8 Remove deprecated and add proxy server example 2021-04-11 23:46:26 +01:00
strip Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
strip-alt Remove deprecated and add proxy server example 2021-04-11 23:46:26 +01:00
video-swap Fix buffering issue after ad segments 2021-02-03 14:15:11 +00:00
other-solutions.md Clarify "Video Ad-Block, for Twitch" method 2021-04-25 15:24:11 +01:00
README.md List "Video Ad-Block, for Twitch" and add "TTV.LOL" firefox link 2021-04-25 15:00:07 +01:00
utils.bat Add page for testing m3u8 modifications and latency 2020-12-28 06:22:10 +00:00
utils.cs Fix buffering issue after ad segments 2021-02-03 14:15:11 +00: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.

Recommendations

M3U8 proxies (or full proxies / VPNs) are the most reliable way of avoiding ads.

Alternatively:

Read this for more info.

Current solutions

Don't combine these scripts with other Twitch specific ad blockers.

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

  • notify-strip (ublock / userscript)
    • Ad segments are replaced by low resolution stream segments.
    • Notifies Twitch that ads were "watched" (reduces preroll ad frequency).
    • Audio sync issues? Infinite loading on midrolls? Try (ublock / userscript) TODO: Fix these issues #17 #24.
  • notify-reload (ublock / userscript)
    • Notifies that ads were watched, then reloads the player.
    • Repeats this until no ads (which may never happen ~ infinite reload).
    • You should expect 3-10 player reloads (give or take). Once successful you shouldn't see preroll ads for a while on any stream (10+ minutes?).
  • low-res (ublock / userscript)
    • No ads.
    • The stream is 480p for the duration of the stream.
  • mute-black (ublock / userscript)
    • Ads are muted / blacked out for the duration of the ad.
    • You might see tiny bits of the ad.

Applying a solution (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).

Applying a solution (userscript)

  • Viewing one of the userscript files should prompt the given script to be added.

Other solutions / projects

For a more detailed description of the following please refer to this.


NOTE/TODO

NOTE: Many of these solutions could do with improvements.
TODO: Test midroll ads.
TODO: More testing in general.