Someone on the list previously used a method where they had a hidden <input 
type="text"/> field on the page, and always set it to any text users might want 
to copy.  Users would then have to Ctrl-C to copy the text.  In my app I try to 
directly access the clipboard as in [1] (and on IE)- but if denied, then I 
revert to filling in the textbox and telling the user to push Ctrl-C.

 -Bruce

> -----Original Message-----
> From: Peter Schneider [mailto:[email protected]]
> Sent: Thursday, April 08, 2010 11:24 AM
> To: qooxdoo Development
> Subject: Re: [qooxdoo-devel] Copy&Paste on Tables
> 
> Hi Daniel,
> 
> unfortunately this is not that easy IIRC. Due to security reasons in FF
> this is
> not allowed per default[1].
> 
> If you have a kind of control over the client, the method described in [1]
> might work for you.
> Or even better they can use the "AllowClipboard Helper" Add-On[2].
> 
> If you don't have that control, I only know of some cumbersome SWF work-
> around,
> like described for example here[3].
> Although that seems not to be very nice/clean.
> 
> 
> /Peter
> 
> -----
> [1] http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
> [2] https://addons.mozilla.org/en-US/firefox/addon/852
> [3] http://en.how-to.mobi/index.php?sd=de&id=127040
> 
> 
> -------- Original --------
> From: Daniel Hirtzbruch
> Date: 08.04.2010 16:22
> 
> > Hi again,
> >
> > I've not been able to find a firefox solution how to copy text to the
> > clipboard via javascript - does any one of you know how to achieve this?
> The
> > client only uses firefox (on windows machines).
> >
> > Thanks in advance,
> > Daniel
> 
> --------------------------------------------------------------------------
> ----
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to