From: Eric Hodel Date: 2004-03-18T22:08:04-08:00 Subject: Re: Ruby and Mozilla --+gHRqQ1BTyNna/y8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --+gHRqQ1BTyNna/y8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQFAWo5EMypVHHlsnwQRAuojAJ9LnDBpKIRnkwRP29SP86jWso9FkQCeLdI7 0bwB2GIo2fD0kRJAjhrK56A= =fMDZ -----END PGP SIGNATURE----- --+gHRqQ1BTyNna/y8--