Paste an Image From the Clipboard in JavaScript: Paste Event vs Clipboard API

Three ways to handle a pasted image in JavaScript: the paste event with clipboardData items, the Clipboard API read call from a button, and canvas toBlob to make a file