winhooks doesn't work in Mozilla Firefox
In Mozilla Firefox 0.8 and earlier this piece of code used to work:
var reg = winhooks.getRegistryEntry(bla bla bla....)
In Mozilla Firefox 0.8.0+ it doesn't work anymore. In Mozilla 1.x it works fine.
I was told it's because that winhooks has been replaced by @mozilla.org/browser/shell-service;1 but that doesn't provide the getRegistryEntry function.
It seems that Mozilla Firefox 0.8.0+ has got it's own nsWindowsHooks.cpp file where GetRegistryEntry is a function in. The IDL file for this says that getRegistryEntry interface nsIWindowsRegistry : nsISupports what ever that means.
Heck, I'd be happy if Firefox would register itself as a default handler of HTML files so my windows folders wouldn't be full of the IE symbol icons. Firebird shows up in the internet control panel as an HTML editor, but Firefox does not.Comment by EdgeWise at March 17, 2004 04:51 AM | Permalink
I opened bug:
to reintroduce getRegistryEntry
I really hope someone can help me, since Launhcy will be dead on Mozilla Firefox if the function getRegistryEntry isn't there!Comment by Henrik Gemal at March 17, 2004 09:08 AM | Permalink