π₯ The new Async clipboard API is so much simpler than the previous range select/document.execCommand() solutions.
It must be on a secure origin (https or localhost) and be tied to a real click
More info:
Stack Css Transforms
Poor Mans Object Search