Backend navigation with dynamic resizing, distinct icons, and bold-header support.
A lightweight Userscript that adds a collapsible Table of Contents sidebar to ChatGPT.
Most navigation extensions try to read the headers from the current webpage HTML. However, ChatGPT uses "lazy loading" (virtualization), meaning messages scroll off-screen are often removed from the code to save memory. This causes other extensions to "lose" parts of the conversation.
This script is different. It fetches the conversation data directly from ChatGPT's internal Backend API. This means:
#) and Bold Text as clickable sub-sections.Heavily inspired by the Scroll Extension by Asker Kurtelli. This version was ported to a Userscript to utilize direct API fetching and reduce the need for a full browser extension.