|
|
|
|
|
by TkTech
4260 days ago
|
|
In what browser is Flash still required? I've been doing: to_clipboard = (text) ->
textarea = document.getElementById "copy-workaround"
textarea.value = text
textarea.select()
document.execCommand "copy", false, null
In chrome for years. |
|
http://jsfiddle.net/vej6vbdt/