See screenshot at the bottom
LMArena | Floating Copy Buttons
Adds persistent, always-visible copy buttons with native Drag-and-Drop support for code blocks and chat messages.
Why You Need This
Native copy buttons disappear when you scroll:
- Code blocks: Button fixed at top - invisible when viewing the middle or bottom
- User messages: Button appears on hover, vertically centered to the left - disappears when scrolled out of view
- AI messages: Button buried in bottom action bar - requires scrolling to message end
This script keeps copy buttons accessible wherever you are on the page.
What It Does
Code Blocks
- Interactive Copy Code Column: A transparent strip on the right edge of every code block
- Enhanced Header Button: Custom drag-enabled copy button replaces the native one
Chat Messages
- Floating Buttons: Smart-positioned buttons beside AI (right) and user (left) messages
- Scroll-Tracking: Buttons follow messages as you scroll through long conversations
- Adaptive Layout: Automatically adjusts to available screen space
Dual Action Workflow
- Click: Instantly copies to clipboard
- Drag: Hold and drag any button to drop text directly into your IDE, notes, or anywhere
- Bonus: Chat messages automatically convert to clean Markdown when dragged!
- No Hold Delay: Drag starts immediately on mouse movement
Installation
- Install Violentmonkey, Tampermonkey, or Greasemonkey
- Install this script
- Visit lmarena.ai
Works immediately, no configuration needed.