Convert to a common script with configs

This commit is contained in:
pixeltris
2020-12-26 06:15:48 +00:00
parent d9c191a606
commit bc0303d460
14 changed files with 4811 additions and 1139 deletions
+12 -10
View File
@@ -5,20 +5,19 @@ This repo aims to provide multiple solutions for blocking Twitch ads.
## Current solutions
- dyn-skip
- When ads play this instantly notifies Twitch that ads were watched. It then refreshes the stream (either full reload, or using FZZ extension).
- May potentially result in multiple refreshes if ads are being served aggressively.
- dyn-skip-min
- dyn-skip variant which doesn't require a reload (WIP/experimental)
- dyn
- Ad segments are replaced by a low resolution stream segments (on a m3u8 level).
- Skips 2-3 seconds when switching to the live stream.
- Stuttering and looping of segments often occur (during the ad segments).
- **NOTE: Removing segments doesn't notify Twitch that ads were watched (aka more served ads).**
- Notifies Twitch that ads were watched before requesting the main live stream.
- May slightly slow down loading of streams.
- Falls back to mute-black if this fails (use an alternative solution if it always fails for you, as it adds additional load).
- dyn-video-swap
- Ads are replaced by a low resolution stream for the duration of the ad.
- Similar to `dyn`, but skips closer to 20 seconds when switching to the live stream.
- You might see tiny bits of the ad.
- Audio controls wont work whilst the ad is playing.
- dyn
- Ad segments are replaced by a low resolution stream segments (on a m3u8 level).
- Skips 2-3 seconds when switching to the live stream.
- Stuttering and looping of segments often occur (during the ad segments).
- **NOTE: Removing segments doesn't notify Twitch that ads were watched (aka more served ads).**
- low-res
- No ads.
- The stream is 480p for the duration of the stream.
@@ -50,4 +49,7 @@ Tampermonkey / Greasemonkey can be used on the files suffixed by `userscript.js`
## NOTE/TODO
Many of these solutions could do with improvements. TODO: Add script to auto generate UserScript files from the uBlock Origin scripts.
NOTE: Many of these solutions could do with improvements.
TODO: Add script to auto generate UserScript files from the uBlock Origin scripts.
TODO: Test midroll ads.
TODO: More testing in general.