1
0
mirror of https://github.com/pixeltris/TwitchAdSolutions.git synced 2024-11-25 11:52:52 +01:00
TwitchAdSolutions/README.md

50 lines
3.5 KiB
Markdown
Raw Normal View History

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
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
- `TTV LOL` - [chrome](https://chrome.google.com/webstore/detail/ttv-lol/ofbbahodfeppoklmgjiokgfdgcndngjm) / [firefox](https://addons.mozilla.org/en-US/firefox/addon/ttv-lol/) / [code](https://github.com/TTV-LOL/extensions)
- `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/)
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
- `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/)
- `notify-strip` - see below
[Read this for a full list and descriptions.](full-list.md)
2020-12-29 15:17:38 +01:00
## Scripts
2020-12-22 19:43:13 +01:00
**There are better / easier to use methods in the above** `Recommendations`.
2020-12-29 15:17:38 +01:00
- notify-strip ([ublock](https://github.com/pixeltris/TwitchAdSolutions/raw/master/notify-strip/notify-strip-ublock-origin.js) / [userscript](https://github.com/pixeltris/TwitchAdSolutions/raw/master/notify-strip/notify-strip.user.js))
- Ad segments are replaced by low resolution stream segments.
- Notifies Twitch that ads were "watched" (reduces preroll ad frequency).
- *You may experience a small jump in time when the regular stream kicks in*.
2021-01-27 12:37:08 +01:00
- notify-reload ([ublock](https://github.com/pixeltris/TwitchAdSolutions/raw/master/notify-reload/notify-reload-ublock-origin.js) / [userscript](https://github.com/pixeltris/TwitchAdSolutions/raw/master/notify-reload/notify-reload.user.js))
- Notifies that ads were watched, then reloads the player (preroll only, falls back to `notify-strip` on midroll).
- Repeats this until no ads **(which may never happen ~ infinite reload)**.
2021-01-27 13:17:11 +01:00
- 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?).
2020-12-26 13:37:30 +01:00
- low-res ([ublock](https://github.com/pixeltris/TwitchAdSolutions/raw/master/low-res/low-res-ublock-origin.js) / [userscript](https://github.com/pixeltris/TwitchAdSolutions/raw/master/low-res/low-res.user.js))
2020-12-22 19:45:20 +01:00
- No ads.
- The stream is 480p for the duration of the stream.
2021-10-30 16:38:50 +02:00
- bypass ([ublock](https://github.com/pixeltris/TwitchAdSolutions/raw/master/bypass/bypass-ublock-origin.js) / [userscript](https://github.com/pixeltris/TwitchAdSolutions/raw/master/bypass/bypass.user.js))
- No ads *(no longer works for many people)*.
2020-12-22 19:43:13 +01:00
## Applying a script (uBlock Origin)
2020-12-22 19:43:13 +01:00
- Navigate to the uBlock Origin Dashboard (the extension options)
- Under the `My filters` tab add `twitch.tv##+js(twitch-videoad)`.
2021-01-28 13:22:53 +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://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).
2020-12-22 19:43:13 +01:00
2021-10-30 16:38:50 +02:00
*To stop using a script remove the filter and make the url `unset`.*
## Applying a script (userscript)
2020-12-22 19:43:13 +01:00
- Viewing one of the userscript files should prompt the given script to be added.