LMArena | Floating Copy Buttons

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.