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

Mozilla has it documented. Didn't see anything on the linked site.

https://developer.mozilla.org/en-US/docs/Web/API/Document/ex...



Firefox only makes execCommand("paste") available in trusted contexts aka extensions. You can't execCommand("paste") on a regular web page for fairly obvious security reasons.




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

Search: