David Shadmi wrote:

> In article <[EMAIL PROTECTED]>, David Olivari says...
> 
 
> I need to "catch" mozilla's events such as Back, Forward etc. 
> 
> I wrote a code that do this with Netscape 4.X . I subclass the browser window
> and I'm using the callback function to catch the events I need.
> This technique doesn't work with Mozilla, so I'm do it by getting the running
> browser instance and use this instance to get the events fires by the browser.
> 
> Regards
> David
> 
> 
> 


As you may know, all the interface is described in XUL and JavaScript 
thus when you click on the back button a JS function is called, in this 
case : BrowserBack().

I think you can find useful information in reading :
http://lxr.mozilla.org/mozilla/source/xpfe/browser/resources/content/navigator.js

If you want to test your modification, the best way could be to compile 
mozilla without jar packaging :

./configure  --enable-chrome-format=flat

and then modify :

chrome/comm/content/navigator/navigator.js


Regards

David Olivari
eProcess





Reply via email to