Enhanced Google AI Studio Chat Navigator

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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.