Copy image to clipboard
问题 Seemingly, you can\'t (yet) programmatically copy an image to the clipboard from a JavaScript web app? I have tried to copy a text in clipboard , and it\'s worked. Now I would like to copy an image and after I press ctrl + v to paste into Word or Excel or Paint. $(function() { $(\"#btnSave\").click(function() { html2canvas($(\"#container1\"), { onrendered: function(canvas) { theCanvas = canvas; document.body.appendChild(canvas); Canvas2Image.saveAsPNG(canvas); $(\"#img-out\").append(canvas);