Copy to clipboard button
shacharz opened this issue · comments
Disadvantage: needs flash
http://stackoverflow.com/questions/400212/how-to-copy-to-the-clipboard-in-javascript
not sure we want this...
Maybe add a simple onclick="window.prompt('Press CTRL+C, then ENTER',this.innerText); return false;" to the link.
Lets just avoid using flash 😄
Does this work in Chrome Stable?
document.execCommand('copy')