Toggle all code blocks open/closed in Google AI Studio with lazy loading support.
These are versions of this script where the code was updated. Show all versions.
Optimized the toolbar MutationObserver to avoid per-node subtree scanning by using a single toolbar lookup per mutation batch, reducing DOM overhead during SPA updates.