Hello,

I'd like to add a new helper application for .jnlp files, ie. Java Web Start files. In Windows, this extension is registered system-wide at Java's installation, so Mozilla only ask for a confirmation when a .jnlp link is followed.
However, it is _this_ "extra step" that I want to remove and to hide from our users (academic environment and newbie users...). I know this isn't much, but well, the majority decides :)


As we already use Mozilla's autoconfig feature (JavaScript preference file fetched at startup from a webserver), I thought of accessing, by XPCOM, to the helper applications "store" and adding a new one for .jnlp files.

I played with the "@mozilla.org/mime;1" and "@mozilla.org/mime-info;1" classes but I didn't manage to make any change (setting nsIMIMEInfo.alwaysAskBeforeHandling value isn't "remembered" and has no effect).

Someone on IRC told me to use RDF *directly*. Is this the only solution ? And how can I do it ? Which RDF datasource should I choose ? As I'm no expert in RDF/XPCOM, I wouldn't mind a small step-by-step example :)

Thanks,

--
Damiano
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to