Hi, If you read XPCOM documents carefully, you'll get to the point that Netscape/Mozilla is not "automatizable" from "out of process" code. XPCOM is not COM, is similar in that both are component frameworks but XPCOM is only a glue for in-process components.
Try injecting a dll, it's what I'm working on. (Dll hooking techniques are exposed in www.codeproject.com and by Jeffery Richters books). Good luck.
