From: ptkwt@... (Phil Tomson) Date: 2004-03-19T15:54:31+09:00 Subject: Re: Ruby and Mozilla |Eric Hodel wrote: >Phil Tomson (ptkwt@aracnet.com) wrote: > > Also, I could be wrong as I haven't had to deal much with JS, but doesn't= =20 > JS hide the guns&knives meaning that it doesn't let you do certain things= =20 > like copy files around, etc.? |This is what Mozilla's XPCOM allows. Naturally, access to the XPCOM |layer is only allowed from within the browser chrome, signed scripts, or |on reciept of special permission from the user. > For example, I don't think you could (using JS) get a file from a=20 > particular website and then copy it to some specific directory on your=20 > machine, for example. (but I could be wrong) =20 |http://jslib.mozdev.org for local FS access and XmlHTTPRequest for |fetching a file off the web will do the trick. So since there is already a Ruby/XPCOM interface (http://rbxpcom.mozdev.org/) the part we are missing is Ruby/XUL? Phil