Not easy question. Originally the initContext method (within your
module object derived from Firebug.Module) is designated for all init
stuff made when page is loaded/ing. However it's not ensured that the
page is really loaded at this point. Notice that this method is called
by tabWatcher.js witch is not the best code in the world.

Recent thread about tabWatcher here:
http://groups.google.com/group/firebug/browse_thread/thread/b76894a1e91e0422/4ce1a1286e86cc4c?hl=en

I would recommend to experiment with initContext and showContext
(fired a bit later).
You can also register your own nsIWebProgressListener (tabWatcher is
based on it) or
perhaps register DOMContentLoaded handler

HTH

Honza


On Sep 29, 12:06 pm, tan <[EMAIL PROTECTED]> wrote:
> Hi
>
> How can you check when the user document is fully loaded.
> With "user document" I mean the web page/context.
>
> I guess many of the existing panels do this, but I still strives a bit
> with connecting the dots :)
>
> I want to execute some stuff in my panel when the page is loaded.
>
> thanks for any advice,
>
> regards
>
> tan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to