[Project_owners] Event handling

Luca Minuti lithian at tiscalinet.it
Fri Jun 24 13:05:07 EDT 2005


Hi,

I'm developing an extension that every time a page is loaded must do
some work. The first thing to do is intercept the page load, so I
write this code:

function test1()
{
  alert('test1');
}

top.getBrowser().addEventListener("load", test1, false);

But the alert will never shown. Any one can help me?

Regards,
Luca.



More information about the Project_owners mailing list