{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.Clipboard.writeText",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.Clipboard.writeText",
    "cat": "api",
    "mdn": "API/Clipboard/writeText",
    "spec": "https://w3c.github.io/clipboard-apis/#dom-clipboard-writetext",
    "st": 1,
    "wf": "async-clipboard",
    "bl": "low",
    "bld": 19885,
    "s": {
      "chrome": {
        "v": "66",
        "d": 17638
      },
      "firefox": {
        "v": "63",
        "d": 17827
      },
      "safari": {
        "v": "13.1",
        "d": 18345
      },
      "edge": {
        "v": "79",
        "d": 18276
      },
      "chrome_android": {
        "v": "66",
        "d": 17638
      },
      "firefox_android": {
        "v": "63",
        "d": 17827
      },
      "safari_ios": {
        "v": "13.4",
        "d": 18345
      },
      "webview_android": {
        "v": "66",
        "d": 17638
      },
      "webview_ios": {
        "v": "13.4",
        "d": 18345
      },
      "samsunginternet_android": {
        "v": "9.0",
        "d": 17789
      },
      "opera": {
        "v": "53",
        "d": 17661
      },
      "opera_android": {
        "v": "47",
        "d": 17735
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      }
    },
    "notes": [
      {
        "t": "From version 107, this method must be called within user gesture event handlers, or the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "chrome",
          "edge",
          "chrome_android",
          "webview_android"
        ]
      },
      {
        "t": "Before version 107, the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "chrome",
          "edge",
          "chrome_android",
          "webview_android"
        ]
      },
      {
        "t": "This method must be called within user gesture event handlers.",
        "b": [
          "firefox",
          "safari",
          "firefox_android",
          "safari_ios",
          "webview_ios"
        ]
      },
      {
        "t": "Web extensions with the <code>clipboardWrite</code> permission in their manifest can write data without a user gesture.",
        "b": [
          "firefox",
          "firefox_android"
        ]
      },
      {
        "t": "From version 21.0, this method must be called within user gesture event handlers, or the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "samsunginternet_android"
        ]
      },
      {
        "t": "Before version 21.0, the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "samsunginternet_android"
        ]
      },
      {
        "t": "From version 93, this method must be called within user gesture event handlers, or the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "opera"
        ]
      },
      {
        "t": "Before version 93, the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "opera"
        ]
      },
      {
        "t": "From version 73, this method must be called within user gesture event handlers, or the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "opera_android"
        ]
      },
      {
        "t": "Before version 73, the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "opera_android"
        ]
      },
      {
        "t": "From version 31.2, this method must be called within user gesture event handlers, or the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "oculus"
        ]
      },
      {
        "t": "Before version 31.2, the user must grant the <code>clipboard-write</code> permission.",
        "b": [
          "oculus"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "async-clipboard",
    "name": "Async clipboard",
    "description": "The navigator.clipboard API asynchronously reads and writes to the system clipboard.",
    "group": "clipboard",
    "groupName": "Clipboard",
    "spec": "https://w3c.github.io/clipboard-apis/#async-clipboard-api",
    "baseline": "low",
    "baselineLowDate": "2024-06-11",
    "baselineLowDay": 19885,
    "compatCount": 15,
    "cats": [
      "api"
    ],
    "compatKeysSample": [
      "api.Clipboard",
      "api.Clipboard.read",
      "api.Clipboard.readText",
      "api.Clipboard.type_image-png",
      "api.Clipboard.type_text-html",
      "api.Clipboard.type_text-plain",
      "api.Clipboard.write",
      "api.Clipboard.writeText",
      "api.ClipboardItem",
      "api.ClipboardItem.ClipboardItem",
      "api.ClipboardItem.getType",
      "api.ClipboardItem.presentationStyle",
      "api.ClipboardItem.types",
      "api.Navigator.clipboard",
      "api.Permissions.permission_clipboard-write"
    ],
    "s": {
      "chrome": {
        "v": "76",
        "d": 18107
      },
      "chrome_android": {
        "v": "76",
        "d": 18107
      },
      "edge": {
        "v": "79",
        "d": 18276
      },
      "firefox": {
        "v": "127",
        "d": 19885
      },
      "firefox_android": {
        "v": "127",
        "d": 19885
      },
      "safari": {
        "v": "13.1",
        "d": 18345
      },
      "safari_ios": {
        "v": "13.4",
        "d": 18345
      }
    }
  }
}