AI Studio Mod - Table of Contents + Revert Scrollbar

Adds a dynamic TOC with smart scrolling for long sections to the settings panel.

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

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

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
TigerYT
今日安裝
0
安裝總數
16
評價
0 0 0
版本
2.3.2
建立日期
2025-08-29
更新日期
2025-09-08
尺寸
8.3 KB
授權條款
未知
腳本執行於

A recent update to Google's AI Studio introduced a new custom scrollbar for the prompt history. This change replaced the familiar, full-page native browser scrollbar with a new one that is really buggy and constraint to specific prompts, and sometimes prompts don't even show up on the scrollbar, overall annoying as hell.

I found this new behavior less intuitive and preferred the classic scrolling method. This script reverts the change they've made. I'd recommend giving Google 'feedback', as well as using this script, because ideally they'd revert the actual website, so this userscript is useless. Otherwise, they'll have a false-sense that people actually like this change they've made.

The script was supposed to focus on being minimal, having absolute no performance impact. And although it still kinda is, I grew tired of endlessly scrolling through long prompts to find the part of a conversation that I was looking for. So, I updated the script to solve that by adding a Table of Contents directly into the settings panel, which:

  • Lists every "User Input", "Model Thinking", and "Model Output" turn in your prompt.
  • Lets you click "Go To" to instantly jump to the top of any section.
  • For long sections taller than your screen, a special "↓" button appears to jump directly to the bottom.
  • Updates automatically as the prompt history grows.