Twitch Game Search (Steam, ITAD, Nintendo)

A robust Userscript for Tampermonkey that adds "Search" buttons directly to Twitch stream pages.
When you are watching a stream, this script grabs the current game title and provides one-click access to search for that game on Steam, IsThereAnyDeal (v2), and the Nintendo eShop.
Features
- Seamless Integration: Adds buttons directly next to the "Game Category" link under the video player.
- Real-Time Updates: Automatically updates the search links if the streamer changes games without refreshing the page.
- Robust Icon System:
- Uses official high-quality icons.
- Includes a Smart Fallback System: If an external icon fails to load (404 or CORS block), the script instantly swaps it for a lightweight, vector-based SVG to ensure you never see a broken image.
- Privacy Friendly: Does not use external APIs or require API keys. It simply constructs search URLs.
Supported Platforms
- Steam (Dark Blue button)
- IsThereAnyDeal (Cyan button) - Updated for ITAD v2 branding
- Nintendo eShop (Red button)
Installation
- Install a Userscript manager extension for your browser:
- Click the link below to install the script:
Usage
- Go to any channel on Twitch.tv.
- Look under the stream title, next to the purple Game Category link (e.g., "Just Chatting" or "Elden Ring").
- You will see three small buttons (Steam, ITAD, eShop).
- Clicking a button opens a search query for that game in a new tab.
Technical Details
This script uses a MutationObserver to handle Twitch's Single Page Application (SPA) architecture. This ensures that the buttons appear even when navigating between channels without a full page reload.
Icon Handling:
To prevent "broken image" icons, the script attempts to load official favicons first. If an error event is triggered, it injects a Base64-encoded SVG path locally:
- Steam: Piston/Crank icon.
- ITAD: Rocket icon (matching v2 branding).
- Nintendo: "N" logo.
License
Distributed under the MIT License.
Copyright © 2026 yoharnu