Is the HTML5 API available for buffer access? And how do you use it?

I am trying to copy images to the clipboard using ZeroClipboard and pasting them into Outlook (or anywhere). He does not work. I read this link and according to it, the HTML5 API is the only way to copy images to the clipboard using JS. I want to know how to use this, or if any browser really supports this? Thanks!

+4
source share
1 answer

Good for Webkit browsers, Apple has this article , available under the heading "Using Pasteboard From JavaScript". I suppose using the setData method, you can also set image data as well as text. Hope this helps you.

0
source

Source: https://habr.com/ru/post/1446244/


All Articles