Adds collapsible code blocks with clickable headers, footer controls, and a global toolbar toggle
目前為 2025-12-30 提交的版本,檢視 最新版本。
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
v4.1- Cleanup: removed overridden CSS declaration (border-radius: 0 0 0 0)- Cleanup: removed unused 'warn' log style- Cleanup: removed redundant typeof guard for activeFixedState- Cleanup: consolidated duplicate mouseleave handlers on collapse buttonv4.2- Changed: replaced localStorage with GM_setValue/GM_getValue for settings persistence- Settings now stored via userscript manager (more reliable, syncs across browsers if supported)
v4.0- Fixed: fixed footer now repositions when textarea grows during user input- Added ResizeObserver on input area to detect height changes- Footer no longer conflicts with/covers the textarea when it expands
v3.8- Fixed: conflict with other userscripts (Multi-Provider Chat Export, etc.)- Added 1000ms initialization delay to avoid React Hydration Error #418v3.9- Replaced hardcoded delay with dynamic Stabilization Observer- Detects React hydration completion by watching for the chat input bar- Uses requestIdleCallback for optimal performance/compatibility
Script name changed from "LMArena | Code Block Collapse" to "LMArena | Collapsible Code Blocks"