Sachin wrote:

> hi all
> I am trying to ship a component for NS6.01
> ,am using mozzlaa 6.0.
> I need to run this cmpont after every page load. so I have modiefied the 
> navigator.js in chrome
> to create and call my component ( i think there must be better way to do 
> it like observing events etc
> can someone help ? )

Have you looked at the nsIWebProgressListener?  hacking the navigator.js 
is not the right way to do this kind of thing.

> now the real and  current problem is when I ship my component to NS6.0
> the 'AUTO-REGISTRATION' is done "most of the times" and not all the times .
> what could be the problem ?
> its urgent pl. help
> Sachin

Your installer will have to run reg-xpcom to pick up this new library. 
Auto-Registration is for debug build, not for shipping products.

You might want to check out XPInstall.  They might have a way to 
register components.  Checkout the new documentation they posted:

http://www.mozilla.org/projects/xpinstall



Reply via email to