Firefox extension that adds a download button when you hover images or videos, with special handling for X.com (Twitter) media.
- Hover-to-download button on images and videos.
- Original-quality X/Twitter image downloads, even when downloading from a feed thumbnail.
- Optimized X/Twitter video downloads (prefers the best available MP4 variant).
- Supports blob URLs by streaming the data through the background script.
- Optional subfolders for images and videos.
- Open X.com (or any site with images/videos).
- Hover a media element to reveal the download button.
- Click the button to download the media.
For X/Twitter images, the extension requests the original uploaded dimensions instead of the feed thumbnail. For videos, it listens for media requests and GraphQL responses to find a progressive MP4 URL before downloading.
Open the extension options page to set download folders:
- Images folder: subfolder under your default Downloads directory.
- Videos folder: subfolder under your default Downloads directory.
Leave blank to download directly into your default Downloads folder.
npm install
npm run buildThis creates the distribution folder with the unpacked extension.
- Open
about:debugging#/runtime/this-firefox. - Click "Load Temporary Add-on".
- Select
distribution/manifest.json.
For iterative work, run npm run watch and reload the extension from the about:debugging page after changes.
downloads: save media to disk.storage: persist options.webRequest+webRequestBlocking: detect X/Twitter video URLs.<all_urls>: required to observe media requests and handle downloads across sites.
- This project uses Manifest V2 for Firefox compatibility.
- Not affiliated with X (Twitter). Please respect content rights and the platform's terms.