Enhanced Google AI Studio Chat Navigator

Adds a floating Table of Contents with code block detection for navigating chat messages in Google AI Studio

نووسەر
Ivan Velikanov
Daily installs
0
Total installs
1
Ratings
0 0 0
وەشان
2.0
Created
2025-04-28
Updated
2025-04-28
Size
42.3 KB
مۆڵەت
MIT
Applies to

This Tampermonkey script creates a table of contents (TOC) for Gemini AI Studio, addressing several navigation challenges. In Gemini, conversations can become extremely long, especially with its extended context size. Unlike Claude, where code and artifacts are separately accessible, Gemini embeds everything within responses, making navigation difficult when scrolling through extensive content.
The AI Studio interface presents additional challenges: you often need to scroll to the top of code blocks to identify which file they represent, then scroll to the bottom to find the copy button – a tedious process. This TOC script solves these problems by allowing you to jump directly to specific responses or individual files/artifacts within each response.
The script also provides two convenient buttons: one to copy the code itself and another to copy the filename. The filename copy feature is currently implemented only for Java (my first and most familiar programming language). This allows you to quickly create properly named Java files in your IDE and paste the code without confusion about which version you're working with.
This tool saves significant time, eliminates excessive scrolling, and prevents confusion when managing multiple code versions in long AI Studio conversations.