3 ms·
Mozilla has it documented. Didn't see anything on the linked site. https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand https://developer.moz
by chiph 11y ago
Mozilla has it documented. Didn't see anything on the linked site.
https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand https://developer.mozilla.org/en-US/docs/Web/API/Document/ex...
- masklinn 11y agoFirefox 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.