Parts of the scripts in this repository may have been created or updated with the assistance of AI agents. While efforts have been made to test and ensure the safety and functionality of these scripts, users should be advised to review the code, understand its behavior, and take appropriate precautions before installing or running any userscripts. Userscripts can have significant access to browser data and websites; use at your own risk.
This repository contains a collection of userscripts designed to enhance media downloading capabilities on various platforms. Userscripts are JavaScript programs that run in your browser to modify web pages or add functionality, typically managed by extensions like Tampermonkey, Greasemonkey, or Violentmonkey.
- Author: Mykyta Shcherbyna (modified by Dragonator)
- Version: 2026-02-11
- Description: Enables bulk downloading of AI-generated images and videos from Grok's Imagine pages, including Favorites, single posts, prompt generation, and "More like this" pages. Features session-based tracking, JSON export, and a floating download-all button with settings.
- Supported Pages:
/imagine(main prompt page)/imagine/more/{id}("More like this" generations)/imagine/favorites/imagine/post/{id}(single posts)
- Features:
- API interception for metadata capture
- Download buttons on image cards
- Floating "Download All" button
- Persistent download history
- Session tracking for prompt pages
- JSON export of session data
- Settings panel for maintenance
- Technical Documentation: See
src/grok/grok-imagine-downloader-technical.md
- Author: AMANE
- Version: 1.06
- Description: One-click download of videos and photos from Twitter (now X) posts. Supports multiple formats and provides customizable filename templates.
- Features:
- Download videos and images with one click
- Customizable filename format
- Supports Twitter, mobile Twitter, and TweetDeck
- History tracking
-
Install a userscript manager extension for your browser:
- Tampermonkey (recommended for Chrome/Chromium)
- Greasemonkey (for Firefox)
- Violentmonkey
-
Click on a script file in this repository (e.g.,
src/grok/grok-bulk-image-downloader.user.js) -
Click the "Raw" button to view the script source
-
Your userscript manager should detect the script and prompt you to install it
Alternatively, you can copy the script content and paste it into your userscript manager's editor.
After installing a script, visit the supported website (e.g., grok.com or twitter.com) and the script will automatically activate. Look for download buttons or menus added by the script.
- On prompt pages: Download buttons appear on generated images
- On favorites/single posts: Download buttons on cards, plus floating "Download All" button
- Use the settings panel (accessible via the floating button) to manage download history, clear data, etc.
- Session data can be exported as JSON for backup
- Download buttons appear on tweets with media
- Right-click for additional options
- Configure filename format in the script settings
- These scripts require broad permissions to function (e.g.,
GM_download,unsafeWindow) - They may access and download media from websites
- Review the script code before installation
- Only install from trusted sources
- Be aware of website terms of service regarding media downloading
- Report issues or suggest improvements via GitHub issues
- Pull requests welcome for bug fixes or enhancements
- When modifying scripts, maintain compatibility and test thoroughly
Scripts may have individual licenses as specified in their headers. This repository is provided as-is for educational and personal use.
- Grok Imagine
- Greasyfork - Alternative source for userscripts