Allow JS-triggered copy/cut with a user gesture

execCommand("copy") and execCommand("cut") should be allowed to modify the system clipboard in the context of a user gesture (the spec uses the language "allowed to show a popup").

Demos

Documentation

Specification

Editor's draft

Status in Chromium

Blink


Enabled by default (tracking bug) in:

  • Chrome for desktop release 43
  • Chrome for Android release 43
  • Chrome for iOS release 43
  • Android WebView release 43
  • Opera release 30
  • Opera for Android release 30

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped
  • Shipped
  • Shipped
  • Positive

Owner

Last updated on 2018-04-26