← Back to release summary

text/source-url: Standardized MIME type for clipboard provenance

Category
Miscellaneous
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Introduce a standardized clipboard provenance metadata field — a source URL that identifies the origin (web page URL) from which content was copied to the system clipboard. Today, browsers already write this provenance information to the clipboard, but each implementation uses a different agent-specific MIME type: Chrome / Edge write to: Chromium Internal Source URL Firefox writes to: text/x-moz-url-priv Safari: No known equivalent This fragmentation forces platform-level security applications (antivirus, endpoint protection, data loss prevention tools) to implement browser-specific detection logic — or miss clipboard-borne threats entirely. This proposal standardizes the field name and format so that clipboard provenance can be reliably consumed across all browsers and platforms, without exposing any new information to web developers via the Clipboard API. How It Works On copy (Ctrl+C, Cmd+C, document.execCommand('copy'), or navigator.clipboard.write()): The browser writes the source document's URL to the system clipboard using a standardized MIME type: 'text/source-url' in addition to the content formats already written (e.g., text/plain, text/html). We propose text/source-url as the MIME type. The value is the full URL of the document where the copy originated. For about:blank, data: URIs, blobs where the URL should not be disclosed, the field is omitted.

Standards & signals

Ecosystem

View on chromestatus.com