Hacker News new | ask | show | jobs
by jonalmeida 4155 days ago
Fun fact: Github uses Flash to copy link data or raw code to your clipboard.
1 comments

Only because it is literally the only way to support the feature. Nothing sneaky about it.
Clipboard API and events. W3C Working Draft 09 December 2014

http://www.w3.org/TR/clipboard-apis/

11% global support, so far.

http://caniuse.com/#feat=clipboard

That's awesome, I didn't know about this draft at all! Still wondering how such a native feature hasn't been drafted within the first 25 years of web browsers. Any (un)official ETA?