Re: [w3c/clipboard-apis] Standardize Clipboard Source url, aka the URL from which the content has been copied from (Issue #244)

tanu18 left a comment (w3c/clipboard-apis#244)

As mentioned in my previous comment, the proposal focuses on aligning existing practices rather than introducing a new mechanism. Browsers already include source URL provenance in clipboard data through vendor-specific formats, but these differ across implementations.

By standardizing the MIME type and naming convention, we aim to improve interoperability, reduce fragmentation, and provide clearer privacy guidance—while keeping the capability internal for platform-level tools, not exposed to web developers.

Attaching screenshots from the clipboard viewer.

<img width="535" height="175" alt="Image" src="https://github.com/user-attachments/assets/49668c32-edf1-466c-8d03-f4d1000f9d55" />
<img width="417" height="178" alt="Image" src="https://github.com/user-attachments/assets/e8a78598-e772-4f61-b1a0-3440305cbd7d" />

I copied text using Ctrl + C from a webpage in both Chromium-based browsers and Firefox, and here are the observed results:

Chrome/Edge: Chromium Internal Source URL
Firefox: text/x-moz-url-priv

Currently, browsers use different MIME types to capture the source URL.
We propose standardizing this field name to something like sourceUrl for consistency across implementations.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/244#issuecomment-3606294184
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/issues/244/3606294184@github.com>

Received on Wednesday, 3 December 2025 11:01:17 UTC