Alexander Rudenko wrote:
Is there are any way to read/write windows registry from extension?

Thanks.

Sure. Check the Launchy extension which uses the registry to search for applications.
http://gemal.dk/mozilla/launchy.html


getRegistryEntry is your friend
http://lxr.mozilla.org/mozilla/search?string=getRegistryEntry

Perhaps something like:

var winhooks = Components.classes["@mozilla.org/winhooks;1"].getService(Components.interfaces.nsIWindowsRegistry);
winhooks.getRegistryEntry(reg, reg_sub, reg_name);


--
Henrik Gemal
Mozilla Evangelist

Mozilla Blog with news, devinfo, links, etc:
http://gemal.dk
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to