Greasy Fork is available in English.

Arena.ai | Floating Copy Buttons

Adds floating copy buttons for code blocks and chat messages

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
piknockyou
今日安裝
1
安裝總數
24
評價
1 0 0
版本
3.8
建立日期
2025-12-17
更新日期
2026-01-31
尺寸
65.2 KB
授權條款
AGPL-3.0
腳本執行於

See screenshot at the bottom

If you'd like to support me: https://ko-fi.com/piknockyou :-)

Arena.ai | 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

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

Works immediately, no configuration needed.