The navigator.clipboard API asynchronously reads and writes to the system clipboard.
navigator.clipboard