Collapse ChatGPT & User Code Blocks

Collapse code blocks in ChatGPT responses and your own <pre> messages by default, with toggles and copy buttons for each type.

יוצר
Louan Fontenele
התקנות יומיות
0
סה"כ התקנות
5
דירוגים
2 0 0
גרסה
1.0
נוצר
27-06-2025
עודכן
27-06-2025
Size
7.83 קילו-בייט
רישיון
MIT
חל על

🚀 Collapse ChatGPT & User Code Blocks

Automatically collapse code blocks in ChatGPT and user messages!
Show/hide code with a click, and copy code instantly.
Works on chat.openai.com and chatgpt.com — perfect for developers!

✨ Features

  • 🔽 Collapse all code blocks by default
  • 👁️ Toggle to show/hide code easily
  • 📋 Copy user code blocks with one click
  • 🟢 Simple, clean, works automatically

🛠️ How to use

  1. Install Tampermonkey extension.
  2. Add this userscript.
  3. Reload your ChatGPT page and enjoy!

Keywords: chatgpt, code block, collapse, toggle, hide, show, copy, userscript, tampermonkey, developer, chat.openai.com, chatgpt.com , greasyfork