Clipboard patterns
A collection of common patterns for dealing with the clipboard.
Copy images
Many modern browsers support copying images to the clipboard in the formats PNG and SVG.
Copy text
How do I copy text on the web? There's an old way and a new way. It depends on which browser is used.
Paste files
Pasting files into the browser consists of using the paste event of the HTMLElement.
Paste images
Read images from the user's clipboard programmatically.
Paste text
Read text from the user's clipboard programmatically.