Greasy Fork is available in English.

Twitch - Refresh on Advert

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

Autore
CodingAndAlgorithm
Installazioni giornaliere
2
Installazioni totali
4.061
Valutazione
0 0 0
Versione
0.72
Creato il
03/11/2020
Aggiornato il
06/11/2020
Licenza
Non disponibile
Applica a

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

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.