Direct Stream Caster

Dynamically detect and cast HLS streams via Chromecast on any site (e.g., StreamEast)

这些是此脚本变更过代码的版本。 显示所有版本。

  • v3.2 2025-05-31

    📦 Changelog — Direct Stream Caster v3.2

    🚀 New in 3.2

    • Dynamic Stream Detection: Automatically detects .m3u8 URLs loaded via fetch or XMLHttpRequest—no more hardcoded stream links.
    • Early Hooking: Script now runs at document-start to catch early network requests.
    • Improved Logging: Console logs now show when streams are found via fetch or XHR.
    • Graceful Fallback: Alerts user if no stream is detected before casting.
    • Minimal Permissions: Still @grant none with no additional dependencies.

    This version makes the script future-proof for most live streaming sites and mirrors like StreamEast by sniffing network traffic for playable HLS streams in real time.

  • v3.1 2025-05-31
  • v3.0 2025-05-31

    📦 Direct Stream Caster – Changelog

    v3.0 – Smart Stream Detection (2025-05-30)

    • 🚀 Major upgrade: Automatically detects .m3u8 HLS stream URLs via fetch and XMLHttpRequest interception
    • ✅ Works on StreamEast and similar dynamically loaded sites
    • 🧠 Removed hardcoded HLS_STREAM, now dynamically sets the correct live stream
    • 💬 Improved logging with [CastDetect] tags in console
    • 🔒 Still injects Referer header (via customData) for server compatibility
    • 🎯 Single fixed Cast button injected when stream detected

    v2.0 – Manual Cast Button

    • 📺 Added "Cast Stream" button injected into all pages
    • 🧾 Hardcoded HLS_STREAM used to load a fixed stream URL
    • ✅ Basic Chromecast session setup and load request with MIME type application/x-mpegurl
    • 🚨 Required user to click Chrome's Cast icon first

    v1.0 – Initial Concept

    • 🧪 Proof-of-concept Tampermonkey script with basic cast setup
    • ❌ No working UI or stream handling
    • 💡 Foundation for later improvements
  • v2.0 2025-05-31