W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2014

Re: [clipboard] Semi-Trusted Events Alternative

From: James Greene <james.m.greene@gmail.com>
Date: Sun, 27 Jul 2014 11:12:14 -0500
Message-ID: <CALrbKZgdVxKbzYj=k_UWLO-n1uh5YaiDWsdgLe_2_v9JJboSOQ@mail.gmail.com>
To: Hallvord Steen <hsteen@mozilla.com>
Cc: Perry Smith <pedzsan@gmail.com>, Jeffrey Walton <noloader@gmail.com>, public-webapps <public-webapps@w3.org>, Jon Rohan <rohan@github.com>
> > If this is really the case, it seems that separating Copy from Paste
would be proper.
> The spec sort of distinguishes them (but this should probably be spelled
out in detail): per the current spec text, copy/cut can be triggered from
any trusted or semi-trusted event, while paste is only allowed if the UA is
explicitly configured to allow it. But I should explain this better in the
spec - especially because I keep forgetting about this myself ;)

I very much agree: it seems like much of the discussion slowing down
progress on this spec and subsequent implementations is a concern over
unauthorized programmatic access to read the user's clipboard (i.e.
synthetic `paste`) but that is NOT part of the spec, nor would I want it to

That functionality is also NOT supported in Flash: you can still only read
the clipboard contents while handling a user-initiated `paste` operation
into a Flash UI component.

The main desired functionality that is really driving this spec is the
synthetic/programmatic `copy` operation. Looking at ZeroClipboard's [1][2]
usage statistics provides plenty of evidence that this feature is both
increasingly desired by developers [3][4][5] and frequently used by
consumers [6].

[1]: ZeroClipboard home page: http://zeroclipboard.org/

[2]: ZeroClipboard repo: https://github.com/zeroclipboard/zeroclipboard/

[3]: Public websites using ZeroClipboard number well over 30,000:

[4]: ZeroClipboard currently has 3000+ stars on GitHub.

[5]: ZeroClipboard averages more than 1000 installs per week via NPM, which
is only one of many ways/systems by which developers can get ZeroClipboard:

[6]: GitHub usage statistics (as of March 2014) for the ZeroClipboard
click-to-copy buttons indicate an average of 35,000+ clicks per day.

   James M. Greene
Received on Sunday, 27 July 2014 16:12:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC