Discussion:
Intent to ship: Enable navigator.clipboard.* APIs by default
Anny Gakhokidze
2018-08-07 15:42:40 UTC
Permalink
As of Firefox 63 I intend to turn on navigator.clipboard.* by default.
It has been developed behind the “dom.events.asyncClipboard” preference.
The APIs that will be exposed are clipboard.readText and
clipboard.writeText and
they will be exposed to secure contexts only.
The readText API will only be usable from WebExtension contexts.

See more details about this feature in the following ‘intent to implement’
thread:
https://groups.google.com/forum/#!topic/mozilla.dev.platform/skHoHwfapEY

Chrome has been shipping this by default since 66.

Spec: https://www.w3.org/TR/clipboard-apis/#async-clipboard-api

Bug to turn on by default:
https://bugzilla.mozilla.org/show_bug.cgi?id=1479935

-Anny.
Vlad Filippov
2018-08-07 19:17:14 UTC
Permalink
Post by Anny Gakhokidze
As of Firefox 63 I intend to turn on navigator.clipboard.* by default.
It has been developed behind the “dom.events.asyncClipboard” preference.
The APIs that will be exposed are clipboard.readText and
clipboard.writeText and
they will be exposed to secure contexts only.
The readText API will only be usable from WebExtension contexts.
See more details about this feature in the following ‘intent to implement’
https://groups.google.com/forum/#!topic/mozilla.dev.platform/skHoHwfapEY
Chrome has been shipping this by default since 66.
Spec: https://www.w3.org/TR/clipboard-apis/#async-clipboard-api
https://bugzilla.mozilla.org/show_bug.cgi?id=1479935
-Anny.
Exciting new APIs. Great work!
c***@gmail.com
2018-12-05 20:47:51 UTC
Permalink
Post by Anny Gakhokidze
As of Firefox 63 I intend to turn on navigator.clipboard.* by default.
It has been developed behind the “dom.events.asyncClipboard” preference.
The APIs that will be exposed are clipboard.readText and
clipboard.writeText and
they will be exposed to secure contexts only.
The readText API will only be usable from WebExtension contexts.
See more details about this feature in the following ‘intent to implement’
https://groups.google.com/forum/#!topic/mozilla.dev.platform/skHoHwfapEY
Chrome has been shipping this by default since 66.
Spec: https://www.w3.org/TR/clipboard-apis/#async-clipboard-api
https://bugzilla.mozilla.org/show_bug.cgi?id=1479935
-Anny.
Any plan to provide this support for web page, not only for browser extensions?
Loading...