Pin ChatGPT Chats

Pin/Unpin ChatGPT chats with local-storage persistence

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
ksol8
日安装量
0
总安装量
6
评分
0 0 0
版本
1.0
创建于
2025-08-13
更新于
2025-08-13
大小
5.0 KB
许可证
MIT
适用于

Pin ChatGPT Chats

This Tampermonkey/Violentmonkey userscript enhances the ChatGPT sidebar by allowing you to pin your favorite chats for quick access.
Pinned chats are saved in your browser’s local storage and persist across page reloads.

Features

  • 📌 Pinned section at the top of the chat list with its own header and visual separator.
  • Pinned icon always visible for pinned chats.
  • Unpinned icon appears only on hover for a clean, minimal look.
  • 🔄 Real-time updates using MutationObserver – new chats or sidebar changes are automatically handled.
  • 💾 Persistence – pinned chats are stored locally and restored on reload.

How It Works

  • Click the icon next to a chat to pin or unpin it.
  • Pinned chats move to a dedicated Pinned section above the rest of your chats.
  • A subtle line separates pinned and unpinned chats for clarity.

This script is designed for personal use and requires Tampermonkey or Violentmonkey to run.