3 ms·
Yup it wipes out whatever important info I was saving in my clipboard without warning me what-so-ever I guess I could put a megabytes into anyone's clipboard n
by ck2 11y ago
Yup it wipes out whatever important info I was saving in my clipboard without warning me what-so-ever
I guess I could put a megabytes into anyone's clipboard now when they click on any link on a website.
- anjanb 11y agoNo, you can't do that. from the mozilla link, "Google Chrome and Internet Explorer both also support this API. Chrome uses the same restriction as Firefox (that it must be run in a user-initiated callback). Internet Explorer allows it to be called at any time, except it first prompts the user with a dialog, asking for permission to access the clipboard."
- MichaelGG 11y agoClicking a link is a user-initiated callback. So yes, he can do exactly that. I wonder if mouse move is also user-initiated.