LMArena | Floating Copy Buttons

Adds floating copy buttons for code blocks (centered) and chat messages (beside/overlay)

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
piknockyou
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
1.3
Created
2025-12-17
Updated
2025-12-20
Size
32.1 KB
License
AGPL-3.0
Applies to

LMArena | Floating Copy Buttons

Adds persistent floating copy buttons that stay visible while scrolling through long code blocks and messages. Now supports native Drag-and-Drop!

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 visible wherever you are on the page.

What It Does

  • Code blocks: Floating button centered on visible portion
  • Messages: Buttons beside AI (right) and user (left) messages that follow as you scroll
  • Smart positioning: Adapts to screen space, avoids headers and input areas
  • Dual Action Workflow:
    • Click: Instantly copies to clipboard.
    • Hold & Drag: Drag the button to drop text directly into your IDE or notes.
    • Bonus: Dragging chat messages automatically converts them to clean Markdown!

Installation

  1. Install Violentmonkey, Tampermonkey, or Greasemonkey
  2. Install this script
  3. Visit lmarena.ai

Works immediately, no configuration needed.