/codecopy

A browser extension that adds copy to clipboard buttons on every code block

Primary LanguageJavaScriptMIT LicenseMIT

CodeCopy

Because copy to clipboard buttons should exist on every code snippet.

Banner

Install

This browser extension available for:

Chrome logo Firefox logo
Chrome Firefox

Supported sites

Works with:

And more.

If you want to add a new site, feel free to send a pull request :)

Custom domains

You can also enable CodeCopy on custom domains or Github Enterprise. Right click on CodeCopy's icon in the the toolbar and select Enable CodeCopy on this domain.

Preview

Preview

Setup

Install dependencies:

npm install

Compile scripts and styles:

npm start

Testing

Chrome
  1. Navigate to chrome://extensions

  2. Click on Load unpacked extension...

  3. Select the dist folder

Firefox
  1. Navigate to about:debugging

  2. Click on Load temporary Add-on

  3. Select the manifest.json inside the dist folder

Opera
  1. Navigate to extensions

  2. Click on Developer Mode

  3. Click on Load unpacked extension...

  4. Select the dist folder

License

MIT License © Zeno Rocha