ChatGPT Sidebar GPTs — Fold/Unfold List

Fold ChatGPT custom GPTs list in the sidebar (show only 3 by default, add “See more (n)” button).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Omega BK
日安装量
0
总安装量
4
评分
0 0 0
版本
1.0.4
创建于
2025-08-31
更新于
2025-08-31
大小
8.0 KB
许可证
MIT
适用于

# ChatGPT Sidebar GPTs — Fold/Unfold List

## Fold the ChatGPT sidebar custom GPTs list. Show only 3 by default and add a “See more (n)” button to expand or collapse the rest.

This userscript improves the ChatGPT sidebar when you have many custom GPTs.
By default, ChatGPT shows the entire list, which can be long and cluttered.
With this script:

- Only the first 3 GPTs remain visible.
- A button “See more (n)” appears right after them, where n is the number of hidden GPTs.
- Clicking expands the full list, and the button changes to “See less”.
- Works dynamically: the script uses a MutationObserver, so it updates automatically when the sidebar changes.
- Minimal CSS, no breaking changes to the native UI.

✅ Compatible with Tampermonkey, Violentmonkey, and Greasemonkey.
✅ Works on chat.openai.com, chatgpt.com, and openai.com.
✅ Lightweight and ESLint-compliant.

Tags: chatgpt, sidebar, ui, fold, custom-gpt, tampermonkey, productivity

### License
MIT