Unblocking clipboard access
Safer, unblocked clipboard access for text and images * Updated Over the past few years, browsers have used document.execCommand() for clipboard interactions. Though widely supported, this method of cutting and pasting came at a cost: clipboard access was synchronous, and could only read and write to the DOM.
https://web.dev/async-clipboard/