浏览器插件 | 帮助你从各个网站轻松 Copy 代码

阅读 1269
收藏 42
2017-05-04
原文链接:github.com

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

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

评论