r/FirefoxAddons • u/CharacterBorn6421 • 1d ago
AI Chat TOC v2.0 is out on AMO — open-source Table of Contents for ChatGPT, Claude, Gemini, Perplexity & Grok (new Docked mode + faster jumps)
Hey everyone,
I maintain AI Chat TOC, a free open-source Firefox add-on that adds a clickable Table of Contents to ChatGPT, Claude, Gemini, Perplexity, and Grok so you don't have to scroll through 40+ prompts to find an earlier question or code block.
I just shipped v2.0 on AMO with a few fixes I'd been working on:
- Faster jumps on long ChatGPT threads: ChatGPT unmounts older messages from the DOM, so
Ctrl+Fmisses them and jumping to message #1 in a 250+ node thread used to take around 25 seconds of scroll-crawling. In v2.0 it hands off to ChatGPT's own?message=routing so ChatGPT loads the missing pages in around 2-3 seconds, then cleans the query param back out of the URL (with the scroll engine kept as a fallback). - Optional Sticky / Docked mode: Replaced the old Compact mode (which wasn't great) with an optional docked mode in settings that pins the panel full-height to the left or right edge, plus a 1-click pin/unpin button in the header.
- Smoother dragging: Rewrote the drag handler using
requestAnimationFrame, cached bounds, and GPU transforms so moving the panel fast doesn't lag. - Custom color picker & live preview: Replaced the native
<input type="color">(which closed the extension popup whenever the OS picker opened) with an inline hue slider and#HEXinput. - Search, answer previews & export: Filter prompts/answers live, copy individual items, or export the outline to Markdown or
.txt.
Permissions & privacy: Only requests storage plus host access for those 5 AI chat sites (data_collection_permissions: none). Everything runs locally with zero analytics or external servers.
- Firefox Add-ons (AMO): https://addons.mozilla.org/firefox/addon/ai-chat-toc/
- GitHub (source code): https://github.com/harshmann10/AI-Chat-TOC
If you like it drop a star on the repo ⭐