Enhanced Google AI Studio Chat Navigator

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Ivan Velikanov
日安装量
0
总安装量
43
评分
3 0 0
版本
2.1
创建于
2025-04-28
更新于
2025-08-18
大小
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.