Hacker News new | ask | show | jobs
by chiph 3738 days ago
Mozilla has it documented. Didn't see anything on the linked site.

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

1 comments

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.