Google AI Studio - Performance & UI Optimization

Advanced performance optimizations for Google AI Studio. Features zero-latency UI, auto-expanding text areas, and reduced browser rendering overhead.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
Johnathan Stone
Daglige installationer
8
Installationer i alt
8
Bedømmelser
0 0 0
Version
1.0.2.1
Oprettet
08.02.2026
Opdateret
08.02.2026
Size
5,04 kB
Licens
MIT
Gælder for

Turbocharge your Google AI Studio experience with a "Zero-Lag" performance and UI overhaul.
As conversations in AI Studio grow longer, the browser often struggles with layout calculations and rendering animations, leading to significant "input lag" and stuttering. This suite implements low-level browser optimizations to ensure the interface remains fluid, even with massive context windows.
Core Features:
🚀 Extreme Performance: Implements CSS contain: layout paint style on chat turns. This prevents the browser from recalculating the entire page layout when a new word is typed, effectively fixing "long-conversation lag."
⚡ Instant Interface: Purges all CSS transitions and animations. Menus, sidebars, and chat bubbles appear instantly with zero delay.
⌨️ Dynamic Input Field: Implements the cutting-edge field-sizing: content property on the prompt textarea. The text box expands naturally as you type without the "jumping" or lag associated with traditional JavaScript-based resizing.
🖱️ Passive Event Hijacking: Forces scroll and touch listeners to be passive, decoupling your mouse wheel from the main JavaScript thread for buttery-smooth scrolling.
🎨 Surgical UI Overhaul: Features a high-contrast, professional #191919 (rgb 25,25,25) theme. Spacing has been optimized with a 25px vertical offset for better readability.
🖥️ Hardware Acceleration: Promotes the main chat container and textareas to their own GPU layers using translateZ(0), reducing CPU strain during heavy generation.
🧹 De-Cluttered Workspace: Removes non-essential visual "sparkles" and shimmer animations that consume GPU cycles while the AI is thinking.
Technical Notes:
Privacy First: This script is 100% self-contained. It does not call any external APIs, use any tracking, or collect any data.
Compatibility: Designed to work perfectly with the default Google font stack to ensure icons and Material Symbols remain intact.
Input Latency: Disables spellcheck and autocomplete in the prompt area to ensure there is zero "character stutter" when working with 100k+ token contexts.