1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-22 02:12:45 +01:00
TwitchAdSolutions/README.md
pixeltris f37af09192 Script improvements #17 #24 #28
- Change notify-strip and notify-reload algorithms to handle midrolls better and hopefully fix audio desync
- Fetch native resolution earlier
- Enforce site player type to avoid issues on embedded sites
- Removed unused / broken scripts
- Improve readme and full list info
- Experimentally testing rolling device id, may remove
2021-06-12 05:35:11 +01:00

4.3 KiB

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 a full list and descriptions.

Scripts

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

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

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

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

Applying a script (userscript)

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