W3C home > Mailing lists > Public > www-svg@w3.org > April 2004

RE: RE:RE: Clipboard access through events

From: Tim Reilly <tim.reilly@consultant.com>
Date: Tue, 6 Apr 2004 15:34:16 -0400
To: <www-svg@w3.org>
Message-ID: <DFELLFNEHCMNIPIBAAPGKEJPDEAA.tim.reilly@consultant.com>

> >What if the author wanted to make some toolbar
> buttons in >their application for copying and
> pasteing?

Exactly, that's why my opinion/comment was pro/for a user dialog.
And pro script access, not just user initiated access.
I do realize Jan's proposal eliminated the need for this, since
it would always be user initiated.

> Maybe then the approach of accessing the clipboard
> directly should be used with a warning.
> clipborad.dispatchPasteEvt() might dispatch a paste
> event after the user has then given his OK.
> It's not very pretty but would work without creating
> any security holes.
> I would consider this as a fallback but not as default
> behavior.

This would definitely work for me.
It would allow for the text editor application to have buttons for
I would add that once the user allows the application access they should not
be prompted again in the same session.

Further thoughts on Jan's email:
I had not thought of these as DOM events, but that's seems like a great
Would it give the application designer discreet paste targets?
I assume it would.
Received on Tuesday, 6 April 2004 16:07:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:58 UTC