views:

126

answers:

1

Is it possible 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.

+2  A: 

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 )

naugtur