Universal Video Sniffer

Sniff video (m3u8/mp4), optimized for mobile memory usage.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Jw-23
今日安裝
5
安裝總數
47
評價
0 0 0
版本
22.2
建立日期
2025-12-03
更新日期
2025-12-03
尺寸
26.7 KB
授權條款
MIT
腳本執行於
所有網站

🇺🇸 User Manual

1. Prerequisites

  • Browser: Highly recommended to use Chrome, Edge, or other Chromium-based browsers (Brave, etc.).
    • Note: The script uses the FileSystemAccess API for stream recording, which may not be fully supported in Firefox.
  • Extension: Tampermonkey is required.
  • Network: Ensure you have access to the video hosting site.

2. Installation

  1. Click the Tampermonkey icon in your browser toolbar and select "Create a new script...".
  2. Delete all default code in the editor.
  3. Copy and paste the full V8 code into the editor.
  4. Press Ctrl + S or click "File" -> "Save".

3. How to Use

  1. Visit Site: Go to a website containing M3U8 or MP4 videos.
  2. Play Video: You must start playback. The script works by intercepting network traffic; if the video doesn't load, the script cannot detect it.
  3. Check the Panel:
    • A floating panel will appear in the top-right corner.
    • Green Border: Video detected in the main window (Top frame).
    • Pink Border: Video detected inside an Iframe (embedded player).
  4. Actions:
    • Copy: Copies the stream URL to your clipboard (useful for external downloaders like IDM).
    • Download:
      • Opens a "Save As" dialog.
      • The script downloads M3U8 segments, transmuxes them to MP4 using mux.js locally, and streams the data directly to your hard drive.
      • Benefit: Low memory usage, supports large files.

4. Troubleshooting (FAQ)

  • Q: Why does nothing happen when I click Download?
    • A: Ensure you are using Chrome/Edge version 86+. If the browser lacks File System API support, the script will show an alert.
  • Q: Connection errors or CORS issues?
    • A: The script uses GM_xmlhttpRequest to bypass CORS. When running for the first time, Tampermonkey may ask for permission to access cross-origin domains. Please select "Always Allow".
  • Q: Can it download encrypted videos?
    • A: It supports standard HLS encryption (AES-128) if the key is accessible. It cannot download DRM-protected content (Widevine/PlayReady).
  • Q: The panel blocks the view.
    • A: Drag the panel by its header to move it. Click the button in the top corner to minimize it.