3 ms·
> Async Clipboard API > The implementation is available through the navigator.clipboard API which must be called within user gesture event handlers like pointe
by andrekandre 7y ago
> Async Clipboard API
> The implementation is available through the navigator.clipboard API which must be called within user gesture event handlers like pointerdown or pointerup, and only works for content served in a secure context (e.g. https:// https://). Instead of a permissions-based model for reading from the clipboard, a native UI is displayed when the page calls into the clipboard API; the clipboard can only be accessed if the user then explicitly interacts with the platform UI.
that looks pretty cool... do other browsers implementation also work like ↑ that?
- om2 7y agoI’m not sure who else has implemented this API so far, but I believe they mostly use explicit permissions instead.