ClipSaver Media File Downloader

Direct download helper for media URLs: shows a small progress panel on video,

Overview

ClipSaver Media File Downloader is a userscript that adds a one-click direct download panel to media file pages served from supported content CDNs. On video, audio and image pages it shows a small floating panel with Start Download and Cancel Download controls and a live progress bar. It fetches the current media URL as a blob and saves it locally, and a companion panel page can start or cancel downloads and toggle the on-page panel.

Media served directly from CDN hosts often plays in the browser but gives you no obvious way to save the file, and right-click saving is unreliable or missing on such pages. This script adds a dedicated download panel so the current media file can be fetched and saved in one click, with visible progress and a cancel option.

Users who regularly view video, audio or image files hosted on the supported media CDN domains and want a simple, repeatable way to save them, without needing separate downloader tools for each site.

Key features

  • Injects a floating download panel on supported media pages served from the covered CDN hosts.
  • One-click download of the current media file directly from its URL.
  • Live progress bar with percentage and downloaded/total size in bytes.
  • Cancel Download button to abort an in-progress download.
  • Toast notifications for completed, failed and canceled downloads.
  • On-page interface text follows the browser language, with 22 supported languages and English fallback.
  • A companion panel page can remotely start or cancel downloads and toggle whether the on-page panel appears.
  • Panel visibility setting is persisted, so the preference is remembered across visits.

Supported sites

  • googlevideo.com
  • tiktokcdn.com
  • douyinvod.com
  • fbcdn.net
  • video.twimg.com
  • zjcdn.com
  • snssdk.com
  • tiktokv.com
  • douyinstatic.com
  • xhscdn.com
  • amemv.com
  • tikwm.com

Permissions

This script requests the following userscript-manager permissions. Review them before installing.

  • GM_addStyle
  • GM_setValue
  • GM_getValue
  • GM_xmlhttpRequest

How to install & use

  1. Install a userscript manager such as Tampermonkey or Violentmonkey for your browser.
  2. Click the "Download / install" button to open the script source on GitHub and install it with your userscript manager.
  3. Open the target site and use the script as documented.

How to use

  1. Install the userscript in a userscript manager that supports GM_xmlhttpRequest and the granted storage APIs.
  2. Open a supported media file URL (video, audio or image) hosted on one of the covered CDN domains.
  3. A small panel appears at the top-right of the page showing Start Download.
  4. Click Start Download to begin; a progress bar shows percentage and transferred/total size.
  5. Click Cancel Download at any time to stop the transfer.
  6. After a download finishes, use Download Again to fetch it a second time.
  7. Optionally use the companion panel page to start or cancel the download and to turn the on-page panel on or off.

Limitations

  • Only runs on the explicitly listed media CDN host patterns and only when the page content type is not text/html; normal website pages are not covered.
  • The download is a single GET request of the current page URL, so it does not merge segmented HLS/DASH streams, and very large files may be better saved manually as noted in the on-panel tip.
  • If the on-page panel is turned off in the companion panel, no download controls are injected.
  • The script may open the companion panel page once on first connection; if the browser blocks pop-ups, that connection may not appear.
  • There is no pause/resume: canceling aborts the request and a new download starts from the beginning.
  • Downloaded files are named with a timestamp plus the detected extension, not the original title.

FAQ

Which pages does the download panel appear on?

Only pages whose host matches the supported media CDN domains and whose content type is not text/html, such as a direct video, audio or image file URL.

Where is the downloaded file saved?

It is saved through the browser's normal download flow, so it goes to your browser's default download location with a generated filename.

Can I pause and resume a download?

No. Cancel Download aborts the request, and starting again re-downloads the file from the beginning.

How is the file extension chosen?

The script first checks an extension hint in the URL, then the MIME type of the page's video source or a type/URL match, and falls back to mp4.

Can I hide the panel on media pages?

Yes. The companion panel page provides a switch to show or hide the on-page download panel, and the setting is remembered.

Does the script send my data anywhere?

No. The download request goes to the current media URL itself, and runtime logs are kept only in memory for the panel view.

Safety & privacy

The script requests the media file from the same URL you are already viewing, using the userscript manager's cross-origin request capability limited to the declared @connect hosts. It does not upload your files or browsing data to any third party. On-page and panel communication is restricted to the panel's own origin and the current page's origin. Runtime logs are held in a small in-memory ring buffer and are not persisted; only the panel visibility preference and connection flag are stored, via GM storage with a localStorage fallback. Downloading media may still be subject to the source site's terms, so use the script only where you have the right to save the content.