Clipboard Write

clipboardWrite
Medium RiskCategory: Device AccessView Official Docs

Install Warning

"Modify data you copy and paste."

Technical Context

Enables write access to the system clipboard, allowing the extension to place text, images, or other data onto the clipboard programmatically.

What This Means For You

The extension can put content onto your clipboard, making it available when you paste. This is used for copy buttons and text formatting tools.

Related APIs

This permission enables access to these Chrome APIs:

navigator.clipboarddocument.execCommand

Common Use Cases

  • Copy helpers
  • Text formatters
  • Code snippets

How to Declare in manifest.json

Add the "clipboardWrite" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "clipboardWrite"
  ]
}

What Users Will See

When users install your extension, Chrome will display this warning:

This extension can:

"Modify data you copy and paste."

Related Permissions