Would it not be much more simpler to let a server-script (php?) do this work? Or if you don't have serverside script -- generate a javascript file to include with constants. That whould be more portable client-wise too.

Ignore this comment if you'r writing xpcom for fun :-)

/Emil Assarsson

Benoit Lefevre wrote:
Hi


Javascript certainly can read files, several extensions do so. There are
even convenience functions in jslib (jslib.mozdev.org) that make it
easier.


    Thank you for the information. I'd never imagine such functions
    would have been added to javascript considering securities problemes.

    That's a good news for me :)



I'm not sure, though, what you mean by accessing the cache.


    Well, for exemple, if you open a web site containning jpg pictures.
    These files, before been displayed by Firefox, are placed in some
    sort of "cache" memory i guess.

    This is this very "cache" memory, creating some kind of local proxy,
    that i'd like to use.

    As Exif informations are embended into jpg files, it would be a shame
    reloading the file insted of using the one in the cache (if it is
possible of
    course)

Regards.

Benoit Lefevre.


_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to