ChatGPT Sidebar GPTs — Fold/Unfold List

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Omega BK
今日安裝
1
安裝總數
5
評價
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