Geoff Taylor wrote:
Alex Aalto wrote:

...
BUT!  I'm a bit annoyed that it works on the Midas demo on mozilla.org, but
doesn't work if you download that demo code and run it locally.  (Try it -
just download the files locally and try to run them from there.  The
clipboard operations give me the same security error.  I'd love confirmation
of this or reason to believe it was something wrong locally.)

The only reason I can see for it to work when fetched from mozilla.org and
not work when fetched from somewhere else is that there's code that trusts
mozilla.org more than, say, file://.  And if that's the case, well, it makes
it a bit dumb to put up a Midas demo on mozilla.org.  Unless the purpose of
the demo is to show us "This is what you can't do on your site."

If you look closely at bug 192355 comment #16, it explains that www.mozilla.com is set up as being the only site allowed to cut and paste:


http://bugzilla.mozilla.org/show_bug.cgi?id=192355#c16

however, it's occured to me that it should be possible to write ones own cut, copy and paste client side javascript functions.

cheers,

alex




Reply via email to