Greasy Fork is available in English.

Copy it 🚀

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

Autor
NicholasHsiang
Denně instalací
0
Celkem instalací
96
Hodnocení
2 0 0
Verze
1.4.0
Vytvořeno
21. 07. 2022
Aktualizováno
01. 11. 2024
Size
36,3 KB
Licence
MIT
Spustit na
všech stránkách

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

  1. Copy as plain text (Alt + Click)
  2. Copy as snake_case style (right Alt + Click)
  3. Copy as kebab-case style (Alt + Shift + Click)
  4. Copy as PascalCase style (Alt + Ctrl + Click)
  5. Copy the element's title attribute (Alt + Ctrl + Shift + Click)

When doing hard work, you can save some energy.

Let the action focus on the matter itself, rather than: mouse selection, right-click, copy, and you may even copy the styled one :(

Using this script will not have this trouble.


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

  1. 复制为纯文本 (Alt + Click)
  2. 复制为 snake_case 风格 (右 Alt + Click)
  3. 复制为 kebab-case 风格 (Alt + Shift + Click)
  4. 复制为 PascalCase 风格 (Alt + Ctrl + Click)
  5. 复制元素的 title 属性 (Alt + Ctrl + Shift + Click)

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

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

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