Skip to content

Clipboard Service API not supported in FF #84084

Closed

Description

@sbatten

Firefox does not support navigator.clipboard read and write API.

refs #83595

Activity

  1. added
    upstream
    editor-clipboard
    web
    firefox
    on Nov 6, 2019
  2. rebornix commented on Nov 7, 2019

    @rebornix
    Contributor

    Based on https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API, right now in Firefox, there are quite a few limitations with Clipboard API, quote:

    • readText: only available in Browser extensions
    • writeText: available without permission in secure contexts and browser extensions, but only from user-initiated event callbacks
    • read/write: available when users have browser preference dom.events.asyncClipboard.dataTransfer set to true

    Taking above limitations into account, we may want to rely on browser behaviors only for clipboard related actions.

  3. added
    upstream-issue-linked
    on Nov 7, 2019
  4. plisy commented on Nov 14, 2019

    @plisy

    Would it be possible to surface an error message if the clipboard isn't available?

  5. added
    debt
    on Oct 8, 2020
  6. removed their assignment
    on Oct 11, 2021
  7. hsinyi commented on Jun 20, 2024

    @hsinyi

    clipboard.read/writeText() and read/write() are now supported in Firefox, since Fx 127.
    https://www.mozilla.org/en-US/firefox/127.0/releasenotes/

  8. locked and limited conversation to collaborators on Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debteditor-clipboardfirefoxupstreamupstream-issue-linkedweb

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions