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
จำนวนติดตั้งทั้งหมด
1
คะแนน
0 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