W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

[whatwg] Script-invokable copy action

From: timeless <timeless@gmail.com>
Date: Wed, 10 Mar 2010 11:31:19 +0200
Message-ID: <26b395e61003100131i4594c0f6g1090501dca7d70d0@mail.gmail.com>
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
Received on Wednesday, 10 March 2010 01:31:19 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC