I found a few articles how clipboard works in IE and Firefox without flash, but I did not find any example regarding to Safari and Chrome. Could开发者_JS百科 somebody share with me example or provide link? Thank you!
I believe you want to manually set the system clipboard contents from JavaScript running in Safari or Chrome? Unfortunately, this capability was disabled a long while ago due to security reasons (previously, it had been possible to do that using execCommand(), but no more.) Sorry I cannot provide you a link to the respective WebKit bugzilla issue offhand. I'd be curious, though, if someone had a working solution.
精彩评论