I'm doing a Safari extension and would like it to copy something to the users clipboard. Unfortunately all the sources I find talk about cross-platform solutions with Flash or have vague references to execCommand.
Is there a way to do it in Safari with JavaScript?