You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current definition for clipboardchange event is such that it doesn't work too well with the model Safari and Firefox have (paste requires explicit click on a button).
And if we require always transient user activation before the event, it would be more ergonomic to have something like
element.onclick = () => clipboard.checkCurrentClipboardTypes().then((listOfBuiltinTypes) => { /do something/});
(I'm not saying Firefox would necessarily implement that API, since it is still rather privacy sensitive)
The text was updated successfully, but these errors were encountered:
The current definition for clipboardchange event is such that it doesn't work too well with the model Safari and Firefox have (paste requires explicit click on a button).
And if we require always transient user activation before the event, it would be more ergonomic to have something like
element.onclick = () => clipboard.checkCurrentClipboardTypes().then((listOfBuiltinTypes) => { /do something/});
(I'm not saying Firefox would necessarily implement that API, since it is still rather privacy sensitive)
The text was updated successfully, but these errors were encountered: