3 ms·
No, not unless you initiate a paste operation manually (literally, as in by hitting ctrl-v or etc.) This is one of the ways that pasting images from your clipb
by mh- 13y ago
No, not unless you initiate a paste operation manually (literally, as in by hitting ctrl-v or etc.)
This is one of the ways that pasting images from your clipboard into, say, an image hosting site can work.
I had a difficult time finding fuller explanations of the capabilities - mostly because there isn't a standard API across browsers yet - but here[1] are the relevant Safari docs.
There's also a working draft[2] from the W3C for a standardized API.
[1] http://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/CopyAndPaste.html http://developer.apple.com/library/mac/documentation/AppleAp...
[2] http://www.w3.org/TR/clipboard-apis/ http://www.w3.org/TR/clipboard-apis/
- giorgosts 13y agoThanks, it's just brought back memories of IE6 where a website could arbitrarily read user clipboard without notice
- oneeyedpigeon 13y agoWhat?! Are all those companies still using IE6 (and, consequently, holding back progress for the rest of us) aware of this massive security hole?
- vidarh 13y agoHey, it's a feature. We can "fund" the time spent on IE6 workarounds by selling data obtained from paste buffers.
- jonknee 13y agoCompanies using IE 6 have many more security problems than clipboard access.
- Drakim 13y agoAt this point of time IE6 is a wide open door, something as trivial as reading your paste isn't that big of a deal in comparison.