The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.
Pull request Compare This branch is 552 commits behind zeroclipboard:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
.github
.gitignore
.jshintrc
CONTRIBUTING.md
LICENSE
Makefile
README.md
ZeroClipboard.js
ZeroClipboard.min.js
ZeroClipboard.swf
ZeroClipboard10.swf
index.js
package.json
test.js

README.md

Zero Clipboard

The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.

This library is fully compatible with Flash Player 10, which requires that the clipboard copy operation be initiated by a user click event inside the Flash movie. This is achieved by automatically floating the invisible movie on top of a DOM element of your choice. Standard mouse events are even propagated out to your DOM element, so you can still have rollover and mouse down effects.

See the Instructions for instructions on how to use the library on your site.

Here is a working Test Page where you can try out ZeroClipboard in your browser.

Testing this page locally

To test this page locally checkout the gh-pages branch and run make. This should open localhost:3000

Contributing

If you find an issue, a pull request is always better than a bug report.

Cloning

$ git clone https://github.com/jonrohan/ZeroClipboard.git
$ cd ZeroClipboard/
$ make

Tests

$ make test