Async Clipboard API

Read more about this demo in my blog post Multi-MIME Type Copying with the Async Clipboard API .

SVG Image

When you copy the SVG image, the app converts the SVG image to PNG, since the browser can copy that for sure. It also tries to copy the SVG representation directly, and it always copies a textual representation based on the image's alt text. Symptoms of Coronavirus disease

PNG Image

When you copy the PNG image, the app also always copies a textual representation based on the image's alt text. Coronavirus

Debug

The text area below shows what's currently on the clipboard. Try pasting to it!

Image credits: