Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Funny enough, Safari just opened up clipboard access via the async clipboard API: https://webkit.org/blog/10855/async-clipboard-api/

It does require a user initiated event to work, but then you can access the user's clipboard with:

`await navigator.clipboard.read();`

There are some additional restrictions though (you can read them in the first link) which it might make sense for iOS as a whole to adopt.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: