Switch to Clipboard API
See original GitHub issueChrome, Edge, Firefox, and Safari (“modern browsers”) now support the Clipboard API, allowing you to copy text to the clipboard using navigator.clipboard.writeText().
Should this package switch to the Clipboard API (or be deprecated in favor of it)?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:6
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Interact with the clipboard - Mozilla - MDN Web Docs
The Clipboard API writes arbitrary data to the clipboard from your extension. Using the API requires the permission "clipboardRead" or " ...
Read more >Cut, Copy and Paste in JavaScript with the Clipboard API
Copying and pasting text will be a useful option in most applications. The API is refreshingly simple: // copy text TO the clipboard...
Read more >Clipboard API and events
Clipboard Event API - This API provides a way to hook into the common clipboard operations of cutting, copying and pasting so that...
Read more >How to Copy to Clipboard in JavaScript with the ...
execCommand() . However, a relatively new Clipboard API was recently released to make data transfer via copy/paste seamless! Reading the ...
Read more >Unblocking clipboard access - web.dev
Async Clipboard API simplifies permissions-friendly copy and paste. ... where blocking the page for clipboard transfer is a poor experience.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Deprecated just means discouraged on the web. Nothing can ever be removed.
The async clipboard API is now supported in
clipboardy.