Hello,

I'm desparately trying to find any info/examples on how to establish hooks 
in a standalone browser application (i.e. not a browser control embedded in 
another app (if that distinction even matters)).   I would like to be called 
when a navigation is about to take place to be able to optionally redirect 
to a different URL.  If a new browser window is spawned I would need that 
instance to be hooked as well.  I don't expect to find a complete example of 
this solution, I'm just hoping to find a pointer in the right direction.  I 
have gathered so far that what I'm trying to do may be possible with an 
XPCOM component, but I haven't found a clear interface that seems geared 
towards this (something analogous to IE's 
DWebBrowserEvents2::BeforeNavigate2 event would be perfect).

Any tips would be greatly appreciated as I am quite the newb :-)

Jeff 


_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to