Copy it 🚀

Copy it: Listen for mouse click events, combined with Alt, Shift, and Ctrl (Windows/Linux) or Command (macOS) keys, to copy the text content or title attribute of an element, supporting snake_case, kebab-case, and PascalCase format conversion.

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.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

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!)

Tác giả
NicholasHsiang
Cài đặt hàng ngày
0
Số lần cài đặt
126
Đánh giá
2 0 0
Phiên bản
1.5.1
Đã tạo
21-07-2022
Đã cập nhật
15-07-2025
Kích thước
40 KB
Giấy phép
MIT
Áp dụng cho
Tất cả trang web

Hold Alt click on text, Copy content, And supports different variable naming styles.

按住 Alt 键点击文本,复制纯文本内容,并且,支持不同变量命名风格。

Command Description
Alt + Click Copy the text content of the element
Right Alt + Click Copy the text content of the element in snake_case
Alt + Shift + Click Copy the text content of the element in kebab-case
Alt + Ctrl(Win/Linux)/Command(macOS) + Click Copy the text content of the element in PascalCase
Alt + Shift + Ctrl(Win/Linux)/Command(macOS) + Click Copy the title attribute of the element
命令 描述
Alt + 点击 复制元素的文本内容
右 Alt + 点击 复制元素的文本内容为 snake_case 格式
Alt + Shift + 点击 复制元素的文本内容为 kebab-case 格式
Alt + Ctrl(Win/Linux)/Command(macOS) + 点击 复制元素的文本内容为 PascalCase 格式
Alt + Shift + Ctrl(Win/Linux)/Command(macOS) + 点击 复制元素的 title 属性

做体力活时,能节省点体力,让操作关注到事情本身,

而不是:鼠标刮选、右键、复制,指不定还复制了带样式的,

用本脚本就不会有这方面的烦恼了。