Easy Copy Selected Text - Enhanced

Automatically copies selected text to clipboard with additional features

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
diogoodev
日安装量
0
总安装量
13
评分
0 0 0
版本
0.8
创建于
2025-03-14
更新于
2025-03-14
大小
9.2 KB
许可证
MIT
适用于
所有网站

Easy Copy Selected Text – Enhanced
This script automatically copies selected text to the clipboard and shows a notification. It uses the modern Clipboard API or falls back to document.execCommand('copy').

Instructions

  1. Install Tampermonkey.
  2. Add the script to Tampermonkey.
  3. Select text on any page to copy it. A notification confirms it worked.
  4. Toggle it on/off with Alt.

Configuration

  • enabledByDefault: Starts active.
  • copyDelay: Delay before copying (ms).
  • selectionDelay: Delay for selection updates (ms).
  • notificationDuration: Notification display time (ms).
  • toggleKey: Key to toggle (default: Alt).
  • middleClickPaste: Enable middle-click pasting.

Notes

  • Best on HTTPS pages.
  • No characters before the meta block.
  • Free to use and modify.

Support

Check the script’s page or repositor for help.