Twitch - Refresh on Advert

Detects placeholder ads and refreshes the page, or for FFZ users, resets the player.

ავტორი
CodingAndAlgorithm
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
4 388
რეიტინგი
0 0 0
ვერსია
0.72
შექმნილია
03.11.2020
განახლებულია
06.11.2020
Size
7 KB
ლიცენზია
პ/გ
გამოყენებს მათ

****************************************************************

Script is outdated as resetting the player no longer clears ads.

****************************************************************

This script simply detects placeholder ads and refreshes the page or for FFZ users, resets the player.

- FrankerFaceZ browser extension recommended.
- Requires UBlockOrigin script offered up by u/thesbros - https://reddit.com/r/Twitch/comments/jjepg8/fix_for_ublock_origin_on_twitch_i_updated_the/
--------------------------------------------------------------------------------
New in 0.72:
Updated overlay message to read more clearly.
Minor change to UBlock failure detection.

New in 0.71:
Slightly extended overlay time.

New in 0.70:
Prevent refresh loop when UBlock fails.
Display overlay message with helpful information for duration of ad.

New in 0.61:
Minor logging fix.

New in 0.60:
Basic logging.
Increased performance by using MutationObserver (Based on SimpleHackers code)
FFZ:
Restores volume after specific mutation (Should be more reliable than setTimeout method)
Restores compressor state after specific mutation.