Skip to content

Introduction

Media Bulk Downloads finds every image, video, and audio file on the page you’re viewing and lets you preview, filter, and download them in bulk, quickly, and without sending your browsing anywhere. It’s a cross-browser Manifest-V3 extension, built for Chrome, Firefox, Edge, and Safari from one codebase. Opera and other Chromium browsers run the Chrome build (Opera and Safari store listings are under review).

The Media Bulk Downloads popup open over a web page: a grid of collected images with type badges, the filter toolbar, and the Download button.

GuideWhat it covers
InstallInstall from your browser’s store, or load unpacked
Quick StartBuild, load unpacked, first use, and the dev gates
ArchitectureMonorepo layout, the four MV3 surfaces, and the message catalog
GuideFlow
Collection PipelineHow page media is discovered, resolved, de-duplicated, and shown
Resolve OriginalsOpt-in, per-host fetch for the exact original file
Deep ScanOpt-in auto-scroll that surfaces virtualized and lazy media
Download & queueHow selected media is named and saved through the service worker
Download pathsPer-site folder templates ({host}, {domain}, {date}, {kind})
Download HistoryThe log of successful downloads: open, reveal, re-download
FavouritesThe starred-media list and how it persists
Version badgeThe per-tab media count on the toolbar icon
In-page BubbleThe injected floating launcher and its lifecycle
Storage & syncWhere data lives, the durable mirror, and what leaves the device
Stream capture internalsParsing, decrypting, and muxing HLS/DASH into one file
flowchart LR
  subgraph Page["Web page"]
    CS["Content script<br/>content.ts + collect/extract"]
    BUB["In-page bubble<br/>(React in Shadow DOM)"]
  end
  SW["Service worker<br/>background.ts"]
  POP["Popup<br/>(React)"]

  POP -- "GET_IMAGES / DEEP_SCAN / DOWNLOAD_IMAGES" --> CS
  POP -- "DOWNLOAD_IMAGES" --> SW
  SW -- "GET_IMAGES (badge)" --> CS
  SW -- "TOGGLE_BUBBLE (icon click)" --> BUB
  CS --- BUB
  SW -- "chrome.downloads" --> DISK[("Downloads")]

  classDef sw fill:#e8ecff,stroke:#4f46e5,color:#17181c;
  classDef page fill:#eefaf0,stroke:#2f9e57,color:#17181c;
  class SW sw;
  class CS,BUB page;

Design constraints (read before changing collection)

Section titled “Design constraints (read before changing collection)”
  • Passive collection is network-free. The content script and badge derive metadata from the DOM and URL strings only, with no fetch, HEAD, or preload while scanning.
  • Two things touch the network, neither during passive collection. Image-size HEAD requests run only from the popup, against images the page already loaded, and stay on each image’s own host (never the background badge path). Resolve Originals (resolveOriginals, off by default) is the only feature that contacts a host other than the page you’re on: when on, the background resolves the exact original from one of ~20 supported hosts (Twitter/X, Wallhaven, Unsplash, Vimeo, Dailymotion, Bluesky, Pinterest, Reddit, Flickr, ArtStation, SoundCloud, Twitch, Loom, PeerTube, and more). See Resolve Originals for the full list.
  • Deep scan issues no requests of its own. It scrolls and re-reads the DOM; the page loads its own media.
  • URL upgrades are conservative. Only safe, path-based CDN rewrites. Signed URLs (fbcdn.net, cdninstagram.com) are left byte-identical, and every upgrade keeps the pre-upgrade URL as a thumbnailSrc fallback.