From 0d9fd4c3cfcbdb1db56410506d811c2879b8d067 Mon Sep 17 00:00:00 2001 From: pixeltris <6952411+pixeltris@users.noreply.github.com> Date: Fri, 1 Jan 2021 01:02:36 +0000 Subject: [PATCH] Describe other solutions in more detail --- README.md | 14 ++++++++------ other-solutions.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 other-solutions.md diff --git a/README.md b/README.md index dbedd09..a029dce 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ M3U8 proxies (or full proxies) are currently the most reliable way of avoiding a If you don't trust third parties then: - `dyn-skip` / `dyn-skip-midroll-alt` are decent. -- `ttv-tools` (firefox) has nice features. - `Alternate Player for Twitch.tv` consistently updates with new ad-blocking methods. +- `ttv_adEraser` somewhat fixes the purple screen issue of `ttv-ublock`. +- `ttv-tools` (firefox) has nice features. ## Current solutions @@ -52,17 +53,14 @@ If you don't trust third parties then: ## 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` +- 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) -Tampermonkey / Greasemonkey can be used on the files suffixed by `user.js` e.g. `low-res.user.js` - -- Viewing one of the userscript files should prompt the given script to be added +- Viewing one of the userscript files should prompt the given script to be added. ## Other solutions / projects @@ -83,6 +81,10 @@ Tampermonkey / Greasemonkey can be used on the files suffixed by `user.js` e.g. - https://twitchls.com/ (external site - purple screen may display every 10-15 mins) - [Use a VPN targeting a region without ads](https://reddit.com/r/Twitch/comments/kisdsy/i_did_a_little_test_regarding_ads_on_twitch_and/) +--- + +For a more detailed description of the above refer to [this](other-solutions.md). + ## NOTE/TODO NOTE: Many of these solutions could do with improvements. diff --git a/other-solutions.md b/other-solutions.md new file mode 100644 index 0000000..16d854d --- /dev/null +++ b/other-solutions.md @@ -0,0 +1,32 @@ +Web browser extensions / scripts: + +- https://github.com/ttvintrusiveadblocker/ttv-intrusive-blocker + - Uses a proxy on the main m3u8 file to get a stream without ads (no prerolls / midrolls). +- https://github.com/odensc/ttv-ublock + - Simulates `embed` Twitch player at a network level (doesn't modify DOM). + - Twitch detects this and may display a purple screen every 10-15 mins asking the user to remove ad blockers. +- https://github.com/Nerixyz/ttv-tools + - Notifies Twitch that ads were watched and then reloads the player. + - Can replace ad segments with a customm video (instead of ad skipping). + - Can keep stream at lowest latency (speeds up stream if too far behind). +- https://github.com/LeonHeidelbach/ttv_adEraser + - Modifies DOM to switch between the `embed` player when there's ads. May display purple screen if both ads and purple screen show at the same time? +- https://github.com/instance01/Twitch-HLS-AdBlock + - Removes ad segments. May result in m3u8 being requested quickly in succession if all segments are removed. +- https://github.com/Wilkolicious/twitchAdSkip +- https://gist.github.com/simple-hacker/ddd81964b3e8bca47e0aead5ad19a707/ +- https://greasyfork.org/en/scripts/415412-twitch-refresh-on-advert/code + - Reloads the player (or page) when it detects the ad banner in DOM. +- `Alternate Player for Twitch.tv` + - Notifies Twitch that ads were watched before loading the main stream (prerolls). + - Removes ad segments which cannot be skipped (midrolls). The player will freeze on the last live frame until no more ads. + +Applications / third party websites: +- https://github.com/streamlink/streamlink + - Removes ad segments (I assume this will freeze on the last live frame until no more ads). +- https://github.com/nopbreak/TwitchMod + - Unsure how this one blocks ads, but it claims that it can. As this is a mod of the official Twitch app (which isn't obfuscated) they might have insight into better ad blocking methods. +- https://twitchls.com/ + - Uses the `embed` player. Purple screen may display every 10-15 mins. +- https://reddit.com/r/Twitch/comments/kisdsy/i_did_a_little_test_regarding_ads_on_twitch_and/ + - Some countries don't get ads. A simple VPN/VPS could be used to block ads by proxying the m3u8 without having to run a VPS on your all your traffic (just the initial m3u8). \ No newline at end of file