2020-12-22 19:43:13 +01:00
# TwitchAdSolutions
This repo aims to provide multiple solutions for blocking Twitch ads.
2021-10-14 15:36:13 +02:00
**Don't combine Twitch specific ad blockers.**
2020-12-29 15:17:38 +01:00
## Recommendations
2021-07-04 17:08:20 +02:00
Proxies are the most reliable way of avoiding ads ([buffering / downtime info](full-list.md#proxy-issues)).
2020-12-29 15:17:38 +01:00
2023-06-20 22:36:43 +02:00
- `TTV LOL PRO` - [chrome ](https://chrome.google.com/webstore/detail/ttv-lol-pro/bpaoeijjlplfjbagceilcgbkcdjbomjd ) / [firefox ](https://addons.mozilla.org/addon/ttv-lol-pro/ ) / [code ](https://github.com/younesaassila/ttv-lol-pro )
2020-12-29 15:17:38 +01:00
2021-01-06 01:06:48 +01:00
Alternatively:
2020-12-31 04:27:21 +01:00
2021-04-25 16:00:07 +02:00
- `Alternate Player for Twitch.tv` - [chrome ](https://chrome.google.com/webstore/detail/alternate-player-for-twit/bhplkbgoehhhddaoolmakpocnenplmhf ) / [firefox ](https://addons.mozilla.org/en-US/firefox/addon/twitch_5/ )
2022-09-01 20:12:51 +02:00
- `Purple AdBlock` - [chrome ](https://chrome.google.com/webstore/detail/purple-adblock/lkgcfobnmghhbhgekffaadadhmeoindg ) / [firefox ](https://addons.mozilla.org/en-US/firefox/addon/purpleadblock/ ) / [code ](https://github.com/arthurbolsoni/Purple-adblock/ )
2024-02-23 14:16:06 +01:00
- `AdGuard Extra` - [chrome ](https://chrome.google.com/webstore/detail/adguard-extra-beta/mglpocjcjbekdckiahfhagndealpkpbj ) / [firefox ](https://github.com/AdguardTeam/AdGuardExtra/#firefox ) / [userscript ](https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.user.js )
2022-11-19 22:57:39 +01:00
- `video-swap-new` - see below
2021-04-25 16:00:07 +02:00
2022-08-27 16:56:24 +02:00
[Read this for a full list and descriptions. ](full-list.md )
2024-02-23 14:16:06 +01:00
[Also see this list maintained by @zGato. ](https://github.com/zGato/ScrewTwitchAds )
2023-06-01 09:23:18 +02:00
2022-08-27 16:56:24 +02:00
## Scripts
2022-09-01 20:12:51 +02:00
**There are better / easier to use methods in the above recommendations.**
2022-08-27 16:56:24 +02:00
2024-09-24 15:37:32 +02:00
- video-swap-new - [userscript ](https://github.com/pixeltris/TwitchAdSolutions/raw/master/video-swap-new/video-swap-new.user.js ) / [ublock ](https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/video-swap-new/video-swap-new-ublock-origin.js ) / [ublock (permalink) ](https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/e09ca6471c73734386056ed951734126d13ab713/video-swap-new/video-swap-new-ublock-origin.js )
2024-02-23 14:16:06 +01:00
- Uses a lower resolution stream during ads.
2024-09-24 15:37:32 +02:00
- vaft - [userscript ](https://github.com/pixeltris/TwitchAdSolutions/raw/master/vaft/vaft.user.js ) / [ublock ](https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/vaft/vaft-ublock-origin.js ) / [ublock (permalink) ](https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/e09ca6471c73734386056ed951734126d13ab713/vaft/vaft-ublock-origin.js )
2024-02-23 14:16:06 +01:00
- The same as `video-swap-new` but attempts to get a clean stream faster (may suffer from more freezing / playback issues).
2022-08-27 16:56:24 +02:00
## 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)` .
2024-02-23 14:16:06 +01:00
- 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/video-swap-new/video-swap-new-ublock-origin.js`
2022-08-27 16:56:24 +02:00
- To ensure uBlock Origin loads the script I recommend that you disable/enable the uBlock Origin extension (or restart your browser).
2024-02-23 14:16:06 +01:00
To stop using a script remove the filter and make the url `unset` .
*For the sake of security it's recommended to use a permalink when using uBlock Origin (permalinks do not auto update).*
*The scripts __may randomly stop being applied by uBlock Origin__ for unknown reasons ([#200](https://github.com/pixeltris/TwitchAdSolutions/issues/200)). It's recommended to use the userscript versions instead.*
2022-08-27 16:56:24 +02:00
## Applying a script (userscript)
2024-02-23 14:16:06 +01:00
- Viewing one of the userscript files should prompt the given script to be added (assuming you have a userscript manager).