Greasy Fork is available in English.

Twitch - Refresh on Advert

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

نووسەر
CodingAndAlgorithm
Daily installs
5
Total installs
4,077
Ratings
0 0 0
وەشان
0.72
Created
2020-11-03
Updated
2020-11-06
مۆڵەت
نییە
Applies to

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

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.