Grok’s Twitch AdBlaster

Blocks Twitch.tv ads with Grok’s power

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

作者
fromaaage
日安装量
3
总安装量
188
评分
2 0 1
版本
3.3
创建于
2025-05-17
更新于
2025-05-18
大小
7.0 KB
许可证
MIT
适用于

Grok’s Twitch AdBlaster

Description

Grok’s Twitch AdBlaster is a powerful userscript designed to block advertisements on Twitch.tv, including Pre-Roll, Mid-Roll, and banner ads. Crafted by fromaaage and powered by Grok, it ensures a seamless, ad-free streaming experience. The script targets ad containers, blob-based video ads, and ad-related scripts, keeping your focus on the content you love! 🚀

Note: The Pause/Play button is removed to block ad-related controls. To pause or resume a stream, use the right mouse button (RMB) on the video player. If ads appear, refresh the page with F5 to trigger the script again.

Features

  • Blocks Pre-Roll, Mid-Roll, and banner ads on Twitch.tv.
  • Removes blob-based video ads and ad overlays.
  • Lightweight and efficient, using MutationObservers for dynamic ad blocking.
  • Compatible with Violentmonkey and Tampermonkey.
  • Open-source under MIT license.

Installation

  1. Install a userscript manager: Violentmonkey or Tampermonkey for your browser (Firefox, Chrome, etc.).
  2. Install the script from GreasyFork or copy the code manually into your userscript manager.
  3. Ensure the script is enabled for https://www.twitch.tv/* and https://player.twitch.tv/*.

Usage

  • Visit any Twitch stream, and the script automatically blocks ads.
  • Pause/Resume: Right-click (RMB) on the video player to pause or resume, as the Pause/Play button is disabled to prevent ad triggers.
  • If ads appear: Press F5 to refresh the page, which usually resolves missed ad blocks.
  • Check the browser console (F12 > Console) for errors if issues persist.

Troubleshooting

  • Ads still showing? Refresh the page (F5). If the problem persists, disable other adblockers or tracking protection (e.g., Firefox’s Enhanced Tracking Protection) for Twitch.
  • Stream not pausing? Use right-click (RMB) on the video player to control playback.
  • Errors in console? Report issues on GreasyFork or share console logs with fromaaage for quick fixes.

Notes

  • The script may block some legitimate elements (e.g., the Pause/Play button) to ensure robust ad blocking. This is a trade-off for an ad-free experience.
  • Twitch may update its ad system, so check GreasyFork for script updates.
  • For feature requests or bug reports, leave a comment on GreasyFork or contact fromaaage.

Credits

  • Author: fromaaage
  • Inspired by: Grok, created by xAI
  • License: MIT

Enjoy ad-free streaming with Grok’s Twitch AdBlaster! 😎