Issue metadata
Sign in to add a comment
|
Add ability to write clipboard data in JS and prompt user to allow
Reported by
flexcapa...@gmail.com,
Jan 25 2018
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:58.0) Gecko/20100101 Firefox/58.0 Steps to reproduce the problem: 1. User visits meme creating website 2. User creates a meme 3. User wants to copy to clipboard 4. Developer calls clipboard.copy(image) What is the expected behavior? Allow method to copy image data to clipboard as bitmap data (image/png, image/jpg). What went wrong? Clipboard does not support writing bitmap data to the clipboard. Did this work before? No Does this work in other browsers? N/A Chrome version: <Copy from: 'about:version'> Channel: n/a OS Version: OS X 10.11 Flash Version: Shockwave Flash 27.0 r0 Writing to the clipboard has valid security concerns, https://w3c.github.io/clipboard-apis/#writing-to-clipboard We know that. But when the user is on a site that allows them to create images (memes) and they want to share those to imgur or gmail that both support pasting of image data we need to offer a second clipboard option: Show a permissions prompt, "Allow Write to Clipboard?" The user then grants permission on a per site or per session basis. A new method may be
,
Jan 29 2018
,
Jan 29 2018
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Jan 27 2018