-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Firefox: Copy
text/uri-listis only supported for GTK. On macOS it added as UTIorg.mozilla.custom-clipdata.
Pasted TIFF data (UTIpublic.tiff) is converted as PNG data (seeclipboardData.items). Metadata ("Creator Tool" and "Modify Date") are stored as XMP.
Supporttext/plain(UTIpublic.utf8-plain-text),text/html(UTIpublic.html),text/rtf(UTIpublic.rtf). - Chrome: Copy custom type is added as UTI
org.chromium.web-custom-data. Pasted TIFF data (UTIpublic.tiff) is converted as PNG data (seeclipboardData.items). Metadata are not kept.
Pasted PDF data (UTIcom.adobe.pdf) is converted to PNG data (but rendered incorrectly).
Supporttext/plain(UTIpublic.utf8-plain-text),text/html(UTIpublic.html),text/rtf(UTIpublic.rtf).
text/plain, text/html, text/richtext, image/png
Specs:
If format equals
text, change it totext/plain.
If format equalsurl, change it totext/uri-list.
— HTML 5.2: 5. User interaction
See also:
- Copy binary data to clipboard via Javascript - Stack Overflow
- #11526 (dataTranfer & clipboardData research) – CKEditor
- Chromium sources: ui/base/clipboard/custom_data_helper_mac.mm - chromium/src.git - Git at Google
- Firefox sources:
nsDragService::GetData,nsDragService::IsDataFlavorSupported, nsDragService.mm, nsITransferable.idl - ClipboardViewer macOS app sample
Clipboard Viewer.appbundled in XCode Auxiliary Tools package (at least with XCode 7 Auxiliary Tools). See http://adcdownload.apple.com/Developer_Tools/Auxiliary_Tools_for_Xcode_7/Auxiliary_Tools_for_Xcode_7.dmg- #132104 Stored XSS on team.slack.com using new Markdown editor of posts inside the Editing mode and using javascript-URIs - HackerOne - see the Python script used to fill the clipboard data for macOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels