Smart Chat Window Optimizer (Gemini Response Manager)

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
John Chi.
日安装量
0
总安装量
3
评分
0 0 0
版本
1.1
创建于
2025-11-21
更新于
2025-11-22
大小
6.5 KB
许可证
MIT
适用于

Plugin Name: Smart Gemini 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:

* Gemini(`https://gemini.google.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.