3 ms·
It is probably better now, but you used to be able to copy clipboard content from javascript or flash. Keepass for windows and linux use autotyping or clears t
by tyfon 10y ago
It is probably better now, but you used to be able to copy clipboard content from javascript or flash.
Keepass for windows and linux use autotyping or clears the buffer after a few seconds if you copy.
- emodendroket 10y agoOh, I see. Yeah, Flash is a different story, I guess, but for JavaScript you can't get at the clipboard unless someone pastes in all the browsers I'm aware of.
- cyphar 10y agoThere's a library for accessing the clipboard within JS[1]. As far as I can tell, the HTML5 APIs for it are designed to stop this from being used to steal your clipboard but I somewhat doubt its effectiveness. [1]: https://clipboardjs.com/ https://clipboardjs.com/
- emodendroket 10y agoThat seems to let you write to the clipboard, not read it.
- cyphar 10y agoThe API used (document.execCommand) supports "paste" which lets you paste the current contents of the clipboard. However, it doesn't appear to work in my version of Chromium.