[whatwg] Script-invokable copy action

timeless timeless at gmail.com
Wed Mar 10 01:31:19 PST 2010


On Tue, Feb 23, 2010 at 12:37 AM,  <whatwg at alanhogan.com> wrote:
> I personally would like to see a cross-browser way to invoke a copy-to-clipboard command without using any drag-and-drop APIs. I understand access to the clipboard is sensitive.
>
> I call for user agents to respond to a JavaScript method that takes one parameter and assigns it to the clipboard, if the user trusts the site (as determined by the user agent). Good UAs would remember preferences by domain after warning the user about the copy action's sensitivity.

Odd, I thought clipboard access was already provided by midas 7 years ago:

http://www.mozilla.org/editor/midas-spec.html



More information about the whatwg mailing list