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.

Penulis
Louan Fontenele
Pemasangan harian
0
Total pemasangan
4
Nilai
2 0 0
Versi
1.0
Dibuat
27 Juni 2025
Diperbarui
27 Juni 2025
Size
7,83 KB
Lisensi
MIT
Berlaku untuk

🚀 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