I wonder if it would be possible to add the new HTML Clipboard API to the html5 header? This functionality would be very useful to users of emscripten.
Sounds good. Is browser support wide enough, though?
To add this, we should add to the HTML C API (under system/include/emscripten/html5.h).
According to caniuse (https://www.caniuse.com/#feat=clipboard) support is at 86% of all browsers. However, there seem to be a lot of caveats across difference user agents.
Caveats sound worrying, but hopefully basic stuff will work (like github copying the clone command/url seems to work in all browsers I've tried).
I'll work on this 馃槃
Great, thanks @miguelsaldivar !
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.
Most helpful comment
According to caniuse (https://www.caniuse.com/#feat=clipboard) support is at 86% of all browsers. However, there seem to be a lot of caveats across difference user agents.