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.

A continuación se muestran las versiones de este script en las que se actualizó el código. Ver todas las versiones.

  • v1.5.1 15/7/2025

    feat: 兼容 macOS Command 按键

  • v1.5.0 6/3/2025

    拷贝标签页 URL (`ALT` + `T`)

  • v1.4.0 1/11/2024

    支持右边 Alt 复制为 snake_case

  • v1.3.0 19/12/2023

    feat: Support Web Components

  • v1.2.0 2/8/2023

    采用 Lodash camelCase,capitalize,kebabCase,snakeCase 方法转换

  • v1.1.0 30/5/2023

    feat: support input/textarea/select, select need click twice

  • v1.0.3 25/4/2023

    Copy text using GM_setClipboard

  • v1.0.2 1/12/2022

    chore: alt → copy tesxt, alt + shift → copy as kebab-case

  • v1.0.1 22/7/2022

    fix: add addEventListener

  • v1.0.0 21/7/2022