Grok Auto-Retry + Prompt Snippets + History + Favorites (v20.5 - Wait for Error Clear)

Fixed moderation detection with more robust selectors and flexible text matching

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Aggressive_Tip4777
日安装量
5
总安装量
82
评分
0 0 0
版本
27
创建于
2025-12-04
更新于
2025-12-11
大小
70.2 KB
许可证
MIT
适用于

Standalone Grok Imagine Auto-Retry & Restore (UI Control Panel + Custom Keybinds)

Stop losing your prompts to "Content Moderated" errors!
If you use Grok (grok.com / x.ai) for video or image generation, you know the frustration: you type a complex prompt, hit enter, and receive a "Content Moderated" error—and your text is gone.
This script automates the fix. It caches your text as you type, and if a moderation error occurs, it automatically restores your text and clicks the retry button for you.
✨ Key Features
Auto-Restore & Retry: Automatically detects the "Content Moderated" message, refills the textarea with your last prompt, and hits the "Make Video" button again.
Floating Control Panel: A sleek, dark-mode compatible UI on the bottom right of your screen.
Configurable Retry Limit: Prevent infinite loops! Set a maximum number of retries (default: 5). The script stops automatically if the limit is reached.
Toggle On/Off: A simple switch in the UI to disable the script without removing it.
Custom Keybinds:
Hide UI: Quickly hide the panel with a keyboard shortcut (Default: Alt + H).
Click-to-Change: Easily change the specific keybind directly from the UI footer.
🎮 How to Use
Install the script via Tampermonkey or Violentmonkey.
Open Grok and start typing in the prompt box.
Set Your Limit: Look at the panel in the bottom right. Enter how many times you want it to retry (e.g., 5).
Let it work: If Grok rejects your prompt, the script will:
Wait 3 seconds (cooldown).
Restore your text.
Click the button again.
Status Updates: The panel shows the current status (e.g., Restoring... (1/5)).
⚙️ Controls & Customization
Element Action
Max Limit Input Type a number to set how many times the script should retry a single prompt.
ON/OFF Button Disables the retry logic temporarily.
Change Hotkey Click the text at the very bottom (Change Hide Key → Alt+H) and press a new key to update the shortcut instantly.