AI Studio Mod - Dynamic Table of Contents + Revert Scrollbar

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

作者
TigerYT
日安装量
0
总安装量
0
评分
0 0 0
版本
2.3.1
创建于
2025-08-29
更新于
2025-09-01
大小
8.0 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.