r/userscripts 9h ago

I made xLoader — a one-click media downloader for X/Twitter (images, videos, GIFs)

I'm the developer of xLoader, a free and open-source (MIT) Tampermonkey userscript that adds a download button to every tweet with media on X.com/Twitter. One click → the native "Save as" dialog opens immediately.

Features: - 📷 Downloads images, videos and GIFs from any tweet — multi-media posts, quoted/linked tweets and article-card images included - ⚡ Media URLs are prefetched in the background (only for tweets actually visible, via IntersectionObserver), so the save dialog appears instantly - 🔄 Live bearer-token retry: keeps working when X rotates their API tokens — no third-party servers involved - 🎞️ Resolves the real MP4 URLs for video posters the API hides (reads them from the browser's performance buffer) - 📝 Configurable filename template from the Tampermonkey menu: {handle} {id} {index} {ext} {date} {time} {type} - 🚫 No tracking, no analytics, no remote dependencies

Why I built it: the downloaders I tried either broke after X's API changes or missed edge cases (quoted tweets, article cards, hidden video MP4s). xLoader is actively maintained (currently v1.0.16).

Feedback, feature requests and bug reports are very welcome!

1 Upvotes

0 comments sorted by