Twitch - Refresh on Advert

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
CodingAndAlgorithm
日安装量
0
总安装量
4,525
评分
0 0 0
版本
0.72
创建于
2020-11-03
更新于
2020-11-06
大小
7.0 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.