yoharnu / Twitch Game Search (Steam, ITAD, Nintendo)

Published:

Version: 2.4.1+60bbb56 updated

Summary: Adds Steam, IsThereAnyDeal, and Nintendo eShop search buttons to Twitch stream pages.

Copyright: 2026, yoharnu (https://openuserjs.org/users/yoharnu)

License: MIT

Antifeature: unspecified

Twitch Game Search (Steam, ITAD, Nintendo)

License

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

  1. Steam (Dark Blue button)
  2. IsThereAnyDeal (Cyan button) - Updated for ITAD v2 branding
  3. Nintendo eShop (Red button)

Installation

  1. Install a Userscript manager extension for your browser:
  2. Click the link below to install the script:

Usage

  1. Go to any channel on Twitch.tv.
  2. Look under the stream title, next to the purple Game Category link (e.g., "Just Chatting" or "Elden Ring").
  3. You will see three small buttons (Steam, ITAD, eShop).
  4. 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

Rating: 0