Skip to content

kiranshahi/Click-Copy-Code

Repository files navigation

Click Copy {Code} – One-Click Copy

Google Chrome extension to copy code blocks from any website with a single click.

Preview

Preview of how plugin works

Installation

  1. Clone or download this repository to your computer.
  2. Open chrome://extensions in Google Chrome.
  3. Enable Developer Mode using the toggle in the top-right corner.
  4. Click Load unpacked and select the directory where you downloaded the project.

Shortcut

Press Alt+C to enable or disable copying. A toast will indicate the current state. The extension remembers your choice for future pages.

Interaction Mode

You can choose how code is copied from the extension options page. Available options are:

  • dblclick – copy when you double click a code block (default)
  • hover – copy when you hover over a code block
  • both – allow both interactions

Notification Theme

The extension shows a toast when you copy code or toggle the shortcut. You can customize the toast colors from the options page.

  • light – light background with dark text
  • dark – purple background with light text (default)
  • custom – choose your own background and text colors

About

Google Chrome extension to copy code from any website on simply double click.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published