4 ms·
> But, that's done on websites as well Can websites running in background tabs access the clipboard contents on the Desktop?
by ploggingdev 10y ago
> But, that's done on websites as well
Can websites running in background tabs access the clipboard contents on the Desktop?
- btown 10y agoThe spec says no, but there's no guarantee that a browser implementation doesn't "through an implementation-dependent mechanism" give this access by default. https://www.w3.org/TR/clipboard-apis/#event-handlers-that-are-allowed-to-read-from-clipboard https://www.w3.org/TR/clipboard-apis/#event-handlers-that-ar...
- emodendroket 10y agoIn my experience browsers won't let you see the clipboard at all unless the user initiates a paste event.