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
日安装量
0
总安装量
3
评分
0 0 0
版本
2.0
创建于
2025-04-28
更新于
2025-04-28
大小
42.3 KB
许可证
MIT
适用于

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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址