LMArena | Floating Copy Buttons

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
piknockyou
今日安裝
0
安裝總數
3
評價
1 0 0
版本
1.3
建立日期
2025-12-17
更新日期
2025-12-20
尺寸
32.1 KB
授權條款
AGPL-3.0
腳本執行於

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.