OmniDown

En allt-i-ett, snabb og gratis HD-video nedladdare. Stöder video nedladdningar från YouTube, TikTok, Douyin, Instagram, Facebook, Threads, XiaoHongShu, TED, X (tidigare Twitter) och mer. Njut av sömlösa, högkvalitativa nedladdningar utan vattenmärken.

Before you install, Greasy Fork would like you to know that this script contains antifeatures, which are things there for the script author's benefit, rather than yours.

This script will inject ads on the sites you visit. The author of this script explains: This script uses external services as fallback when direct download is blocked.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

Upphovsman
ksmo
Dagliga installationer
22
Totala installationer
23
Betyg
0 0 1
Version
3.1
Skapad
2026-07-11
Uppdaterad
2026-07-13
Size
191 KB
Licens
MIT
Antifeatures
Reklam
Gäller för

OmniDown – HD Video Downloader (YouTube, TikTok, Instagram, X & More)

Fast, secure, and lightweight userscript to download online videos locally, or redirecting to dedicated external tools when local streams are blocked by CORS/DRM/HLS limits.

Version: 3.0 | Author: ksmo | License: MIT


Supported Websites & Platforms

  • YouTube: Multiple quality options (Shorts, Embeds, watch videos, audio, subtitles/SRT), signature cipher decryption, and n-parameter throttle bypass.
  • TikTok & Douyin: Watermark-free MP4 extraction with fallback options. NEW: Automatic video detection on For You page with a live sidebar, one-click link copying, and no-watermark redirect.
  • Instagram: Feed, Reels, Stories, HLS/Blob streams, and carousel slides with active slide detection.
  • X (Twitter): Direct MP4 URLs extractor.
  • Facebook & Threads: Embedded video parsing.
  • Pinterest, Snapchat, TED: Local extraction where possible and site-specific external converters.
  • Spotify: Easy search and download redirects to external converters.

Download Modes

OmniDown offers three adaptive download paths to bypass modern DRM, CORS limitations, and HLS streaming protocols:

  1. Direct Download (Local-First): Fetches and downloads the media file directly inside your browser. It parses metadata streams locally, supports parallel chunk requests, resolves ciphered signatures, displays real-time progress indicators, and applies n-parameter transforms for YouTube streams.
  2. Cobalt UI Redirection: Integrated seamlessly with Cobalt. Clicking Cobalt buttons pre-fills and opens Cobalt's clean extraction service. You can use the default API endpoint (cobalt.tools) or configure your own.
  3. External Fallback Downloader: When direct access is blocked or restricted (e.g. YouTube signatures that cannot be bypassed locally, HLS blob streams), OmniDown prompts you to redirect to external conversion tools (such as SnapTik, SaveFrom, PinPea, etc.) based on the site.

Tampermonkey Menu Command Options

You can configure OmniDown directly from the Tampermonkey / Violentmonkey userscript menu:

  • 📥 Open Download Menu: Instantly brings up the glassmorphic overlay containing available video formats.
  • ⚡ Download Media (Cobalt): Triggers the Cobalt workflow using the current page context. On TikTok, prompts for clipboard share link for best results.
  • 🌐 Change Language: Opens the language selection modal to swap between English, Portuguese, Spanish, Chinese (Simplified/Traditional), and Vietnamese.
  • ⚙️ Set Cobalt API URL: Lets you input a custom Cobalt server instance domain (defaults to cobalt.tools).
  • ⚙️ Set Custom CORS Proxy: Define a custom CORS proxy prefix (e.g., https://my-proxy.com/?url=) to resolve stream blockages.
  • 🔘 Toggle Floating Button UI: Show or hide the bottom-right circular download button.
  • 🔘 Toggle Auto-Fallback: Instantly redirect to fallback tools without displaying the confirmation dialog.
  • 🔘 Toggle Keyboard Shortcut: Enable or disable the Ctrl + Alt + Shift + D hotkey trigger.

Advanced Features

Core Architecture

  • Trusted Types Compliance: Fully compatible with Chrome's Trusted Types policy (require-trusted-types-for 'script'). Zero use of innerHTML, outerHTML, or insertAdjacentHTML. All DOM manipulation uses createElement, createElementNS (for SVG), and textContent.
  • Strict Iframe Context Guard: Employs context checking to prevent multi-initialization inside nested ad frames or extensions, restricting global FAB creation to the top-level window.
  • Clean Memory Management: Maps file sizes and embed configurations inside size-bounded LRU caches (WeakSet, WeakMap) to prevent long-term memory leaks.
  • Robust JSON Parsing: Uses a custom bracket-balancing algorithm to extract raw player response variables safely without matching inner strings or nested braces.
  • Strict Performance & Execution Scopes: Restricts execution to supported domains only and leverages mutated node batch parsing with a short-lived 150ms scan cache to eliminate CPU spikes on feeds.
  • Sanity Check Suite: Built-in dev-mode assertions (console.assert) for validating core utilities like formatBytes, getCodec, extractJsonFromHtml, and convertXmlToSrt.

YouTube-Specific

  • Native YouTube Player Controls Button: Injects a clean, native SVG download button directly inside YouTube's player control bar (ytp-right-controls).
  • YouTube SPA Navigation Support: Automatically re-injects the control button and rescans for videos when navigating between YouTube videos (SPA routing via yt-navigate-start / yt-navigate-finish events).
  • YouTube base.js Signature Deciphering: Built-in dynamic algorithm decryption for protected streams with automatic caching of decipher steps. Includes embed player response fallback for cipher-blocked videos.
  • YouTube n-Parameter Throttle Bypass: Extracts and executes the n-transform function from YouTube's base.js to bypass rate limiting. Includes CSP-safe fallback to original URLs if dynamic execution is blocked.
  • Playlist Export: One-click export of all YouTube playlist video links to a .txt file.
  • Subtitle Download: Converts YouTube XML captions to SRT format and downloads them directly.

TikTok-Specific

  • TikTok For You Page Sidebar: A live, glassmorphic sidebar appears on TikTok's /foryou feed, automatically detecting the currently visible video via IntersectionObserver.
  • Network Interception: Intercepts fetch and XMLHttpRequest responses to cache video IDs and usernames from TikTok's internal API calls.
  • One-Click Link Copying: Copy the full TikTok video URL (https://www.tiktok.com/@user/video/123...) to clipboard with one button.
  • No-Watermark Redirect: One-click redirect to ssstik.io for watermark-free downloads.
  • TikTok Clipboard UX Safeguard: On TikTok FYP feeds where page URLs remain generic (/foryou), OmniDown prompts users with an overlay to check if they've copied the specific share link to their clipboard, fallback-safe reading from clipboard (Ctrl+C) or using the resolved video container.

Instagram-Specific

  • Carousel & Slide Detection: Scans the page to extract all individual video cards in carousels, automatically marking which slide/video is currently active/visible in the browser.
  • HLS Blob Stream Handling: Detects blob/HLS streams and redirects to fallback tools when direct download is unsupported.

Multi-Language i18n

  • Dynamic Multi-Language System: Native browser language detection with full support for English (en), Portuguese (pt), Spanish (es), Simplified Chinese (zh-CN), Traditional Chinese (zh-TW), and Vietnamese (vi).
  • First-Run Language Prompt: Automatically shows a language selection modal on first install/run.
  • Fluid Menu Commands: Registers emoji-rich context menu commands to switch language at any time.

Download Management

  • Local-First & Multi-Proxy Download: Downloads videos directly inside your browser whenever possible, utilizing CORS proxies sequentially on network failures.
  • Robust Download Cancellation: Cancels running and queued downloads cleanly, ignoring asynchronous callbacks from aborted connections.
  • Parallel Download Queue: Sequential download queue with per-item cancellation and progress tracking.
  • Real-Time Progress: Beautiful glassmorphic progress bar with filename label, percentage, and cancel button.
  • Minimized Player: Download manager overlay supports desktop minimization to a compact floating widget.

Privacy & Security

  • Privacy Confirmations: Never triggers external redirects without explicit user confirmations.
  • CSP-Safe Fallbacks: When dynamic code execution is blocked by Content Security Policy, gracefully falls back to slower but functional download paths.
  • No Data Collection: All processing happens locally in your browser. No analytics, no tracking.

Controls

  • Floating Button: Appears automatically when a video is loaded on the page (pulses red when downloading).
  • Keyboard Shortcuts:
    • Ctrl + Alt + Shift + D: Open download menu (can be toggled in menu commands).
    • Esc: Close download menu / cancel download.