AI Studio System Instructions Injector

The definitive power-user script for Google AI Studio. Performs an instant, flicker-free check on page load & between chats (SPA-aware), so the UI only appears when needed. Replaces all browser dialogs with a professional, themed UI and non-blocking toast notifications. Features a 'one-shot' workflow to inject, close, & hide with a single click. Offers total control: closable button (hide session/forever) & full Tampermonkey menu integration (edit, inject, re-show).

作者
zSayf
日安装量
0
总安装量
0
评分
0 0 0
版本
15.0
创建于
2025-10-01
更新于
2025-10-01
大小
22.4 KB
许可证
MIT
适用于

AI Studio System Instructions Injector

The definitive power-user script to supercharge your workflow in Google AI Studio.

This script provides a seamless and intelligent way to manage and inject your custom system instructions. It's designed to be fast, unobtrusive, and fully integrated with your workflow, only appearing when you actually need it.


✨ Key Features

  • ⚡ Instant, Flicker-Free Check: On page load and when switching between chats, the script instantly checks if your instructions are already present. The UI button only appears if needed, giving you a clean workspace.
  • 🧠 SPA-Aware: Fully compatible with AI Studio's single-page application design. The script automatically re-evaluates each chat you navigate to, ensuring context-aware functionality.
  • 🚀 One-Shot Workflow: A single click on the sleek UI button is all it takes. It opens the panel, injects your text, closes the panel, and hides itself for maximum efficiency.
  • 🛡️ Safety First: Intelligently detects if the instruction field already has text. Instead of blindly overwriting, it presents a clear confirmation dialog (Overwrite / Cancel) to protect your work.
  • 🎨 Professional UI: Replaces all native browser prompt and alert dialogs with a custom-themed, professional UI that matches the AI Studio aesthetic. Includes non-blocking toast notifications for a modern user experience.
  • 🔧 Total Control & Customization:
    • First Run Setup: On first use, you'll be prompted to set your own default instructions.
    • Easy Editing: Edit your saved instructions anytime via a right-click on the button or through the Tampermonkey menu.
    • Closable Button: Don't want to see the button? A small X allows you to hide it for the current session or permanently.
  • 🔗 Full Menu Integration: Control everything directly from the Tampermonkey script menu:
    • Edit System Instructions: Open the editor.
    • Inject Instructions (from Menu): Run the injection sequence, perfect for when the button is hidden.
    • ► (Re)Show Button: Easily bring the button back if you've hidden it permanently.

📸 Screenshots

Sleek & Unobtrusive UI Professional Dialogs Full Menu Control
The 'One-Shot' button appears at the bottom of the screen only when needed. Custom-themed dialog for setting instructions. Control everything from the Tampermonkey menu.