ChatGPT - Hide Old Messages (New DOM)

מסתיר הודעות ישנות בצ'אט של GPT ב־#thread article, עם כפתור הצג הכול

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
Ross M
日安装量
0
总安装量
10
评分
0 0 0
版本
1.2
创建于
2025-07-16
更新于
2025-07-16
大小
2.1 KB
许可证
MIT
适用于

🧠 Tired of long ChatGPT chats slowing down your browser?
This lightweight userscript automatically hides older messages, keeping only the most recent ones visible (default: last 30).

✅ Boosts performance and prevents crashes in long threads
✅ Works on chatgpt.com
✅ Includes a floating “Show All Messages” button

You can also edit the script to change how many messages are kept visible:

const MAX_VISIBLE_MESSAGES = 30;
🛠 Ideal for power users, heavy prompt engineers, or just people who chat a lot with AI.