[Jslib] jsLib from web page?
Myk Melez
myk@melez.com
Tue, 10 Sep 2002 12:03:06 -0700
Scott Andrew LePera wrote:
>Hello All,
>
>I'm very interested to learn if the functions in jsLib can be called
>directly from JavaScript in Web pages (rather than from a XUL application).
>Is this possible?
>
>Specifically, I'm looking for a way to do file I/O from a Web page in
>Mozilla.
>
>
You might be able to do this by signing your script and then requesting
special privileges.
http://www.mozilla.org/projects/security/components/signed-scripts.html
You may have to load the JS library remotely, however, rather than
taking advantage of the version that may or may not be installed on the
user's machine.
-myk