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.

Autor
Louan Fontenele
Installationen heute
0
Installationen gesamt
3
Bewertungen
1 0 0
Version
1.0
Erstellt am
27.06.2025
Letzte Aktualisierung
27.06.2025
Größe
7,83 KB
Lizenz
MIT
Wird angewandt auf

🚀 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