Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

TwitchAdSolutions

> 编程语言
Open source

Project archived on 2026-03-05. I'm no longer interested in Twitch. So much garbage content. Every time I go on the site it's worse. Twitch…

11.4K stars0 likes4 views
WebsiteGitHub

About

Project archived on 2026-03-05. I'm no longer interested in Twitch. So much garbage content. Every time I go on the site it's worse. Twitch…

Project archived on 2026-03-05. I'm no longer interested in Twitch. So much garbage content. Every time I go on the site it's worse.

TwitchAdSolutions

This repo aims to provide multiple solutions for blocking Twitch ads.

Don't combine Twitch specific ad blockers.

Recommendations

Proxies are the most reliable way of avoiding ads (buffering / downtime info).

  • TTV LOL PRO - chrome / firefox / code

Alternatively:

  • Twitch Turbo - https://www.twitch.tv/turbo
  • Alternate Player for Twitch.tv - chrome / firefox
  • Purple AdBlock - chrome / firefox / userscript / code
  • AdGuard Extra - chrome / firefox / userscript
  • vaft - see below
  • TTV Ad Mute - firefox / code

Read this for a full list and descriptions.

Also see this list maintained by @zGato.

Scripts

There are better / easier to use methods in the above recommendations.

  • vaft - userscript / ublock / ublock (permalink)
    • Attempts to get a clean stream as fast as it can
    • If it fails to get a clean stream it removes ad segments (no playback until ad-free stream is found)
  • video-swap-new - userscript / ublock / ublock (permalink)
    • Attempts to get a clean stream
    • If it fails to get a clean stream it removes ad segments (no playback until ad-free stream is found)
    • Not recommended, vaft is a better script

Applying a script (uBlock Origin)

  • Navigate to the uBlock Origin Dashboard (the extension options)
  • Under the My filters tab add twitch.tv##+js(twitch-videoad).
  • Under the Settings tab, enable I am an advanced user, then click the cog that appears. Modify the value of userResourcesLocation from unset to the full url of the solution you wish to use (if a url is already in use, add a space after the existing url). e.g. userResourcesLocation https://raw.githubusercontent.com/pixeltris/TwitchAdSolutions/master/vaft/vaft-ublock-origin.js
  • To ensure uBlock Origin loads the script I recommend that you disable/enable the uBlock Origin extension (or restart your browser).

To stop using a script remove the filter and make the url unset.

For the sake of security it's recommended to use a permalink when using uBlock Origin (permalinks do not auto update).

The scripts may randomly stop being applied by uBlock Origin for unknown reasons (#200). It's recommended to use the userscript versions instead.

Applying a script (userscript)

Viewing one of the userscript files should prompt the given script to be added when you have a userscript manager installed.

Userscript managers:

  • https://violentmonkey.github.io/
  • https://www.tampermonkey.net/
  • https://apps.apple.com/us/app/userscripts/id1463298887

Greasemonkey doesn't work with the scripts.

Issues with the scripts

If the script doesn't work or you're experiencing freezing / buffering issues see issues.md

Issues· 13 open

View all issuesOpen on GitHub
  • #506

    black screen overlay while trying to block twitch ads

    Updated Mar 5, 2026
  • #504

    TTV Firefox extension Suggestion (Request)

    Updated Feb 26, 2026
  • #503

    Add Android / iOS app ad blocking instructions

    Updated Feb 26, 2026
  • #497

    Ads need revisit due to Twitch side updates

    Updated Feb 25, 2026
  • #499

    Web player structure has changed

    Updated Feb 25, 2026
  • #496

    Alternate player for Twitch.tv: (Mod/owner) Chat Disabled when ads are playing.

    Updated Feb 5, 2026
  • #493

    Twitch player shows "Failed to load module" and core-error overlay when script is enabled

    Updated Jan 5, 2026
  • #447

    vaft userscript in violentmonkey with brave decode error 3000

    Updated Dec 3, 2025
  • #355

    getting twitch video errors (Error #1000 / 2000) very often

    Updated Nov 21, 2025
  • #477

    video-swap-new streams sometimes go "offline" when ads occur

    Updated Nov 19, 2025

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言