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

Fixed moderation detection with more robust selectors and flexible text matching

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Aggressive_Tip4777
今日安裝
10
安裝總數
91
評價
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.