Smart ChatGPT Window Optimizer (Chat AI Response Manager)

Automatically collapses long AI responses on ChatGPT to optimize the chat window, featuring quick toggle and content preview.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
John Chi.
Daily installs
0
Total installs
7
Ratings
1 0 0
Version
1.1
Created
2025-11-21
Updated
2025-11-22
Size
7.54 KB
License
MIT
Applies to

Plugin Name: Smart ChatGPT Window Optimizer (Chat AI Response Manager)

🚀 Feature Overview

This User Script is designed to fundamentally solve the problem of overwhelming interfaces and difficult navigation that occurs during long conversations with Large Language Models (LLMs). By intelligently collapsing lengthy AI responses, it greatly improves the visual efficiency and user experience of your chat windows.

✨ Key Features

* Automatic Smart Collapse: Upon loading history or switching conversations, the script automatically collapses long AI responses to a fixed height (120px) after a brief delay.
* Interactive Toggle: Simply click the user's message area or avatar to quickly toggle the expand/collapse state of the subsequent AI response.
* Efficient Content Preview: In the collapsed state, the content is automatically offset (scrolled up by ~90px), ensuring you can instantly see the last few lines of the text, allowing for quick comprehension of the response summary.
* Visual Optimization: The collapsed area features a light blue gradient overlay and rounded corners, providing a clear visual cue and a more polished look.
* One-Click Management: A "Collapse All" button is available in the bottom-right corner, allowing you to instantly tidy up the entire conversation window.

💻 Compatibility

This script has been specifically optimized and is reliably compatible with the following major AI chat platforms:

* ChatGPT (`https://chatgpt.com/*`)

📌 Usage Notes

1. You must have a user script manager like Tampermonkey or Greasemonkey installed in your browser.
2. Install this script through the manager, and it will automatically activate on the supported sites.