Claude Code Block Collapser v27

Collapse code blocks with copy, download, expand/collapse. Clean single-button layout.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
carrot4522
今日安裝
0
安裝總數
8
評價
0 0 0
版本
27
建立日期
2025-11-08
更新日期
2026-01-05
尺寸
10.4 KB
授權條款
未知
腳本執行於

📦 Claude Code Block Collapser v25

Collapse code blocks into clean, manageable sections with dual controls, one-click downloads, and typing detection.


✨ Features

Feature Description
📦 Auto-Collapse Code blocks collapse when Claude finishes typing
⚖️ Dual Controls Copy, download, expand buttons on both sides
📋 One-Click Copy Copy code with visual confirmation
💾 Quick Download Save as .txt with auto-generated filename
🖱️ Double-Click Toggle Fast expand/collapse on header or content
⌨️ Typing Animation Gradient shows when Claude is still generating

🚦 Status Indicators

State Header Style Meaning
⌨️ Typing Animated gradient Claude still generating
Done Static gray Code complete, controls active
📦 Collapsed Compact Space saved, click to expand

🎯 Usage

Action How
Expand/Collapse Double-click header or content
Copy Code Click "Copy" button (either side)
Download Click "Download" button
Wait for Completion Watch for animation to stop

💡 Pro Tips

Tip Benefit
🖱️ Double-click mastery Fastest way to toggle
⏱️ Watch the gradient Wait for static header before download
💾 Download immediately Save important code right away
⚖️ Use either side Controls on left AND right

📊 Supported Languages

All major languages including: JavaScript, Python, Java, C++, Ruby, Go, Rust, PHP, TypeScript, HTML, CSS, JSON, YAML, SQL, Shell, and more.


Keep Claude conversations clean with intelligent code collapsing. 💻✨