开发者

Is it possible to read the clipboard contents in Chrome without an onPaste handler?

Is it possibl开发者_Python百科e to read the clipboard without user interaction? Just like IE's window.clipdData.getData("Text")?

I've seen other questions, such as Is it possible to read the clipboard contents in Firefox, Safari, and Chrome using Javascript?, but the onpaste event is not what we are looking for.


I don't think it's possible due to privacy/safety reasons. You could sniff the clipboard in a loop and catch passwords copied elsewere.

( That password sniffing seems worth trying if it works in IE :D )

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜