Thanks Boris.

Is there a way for me to know if clicking a link, caused a NEW page load?

e.g. <a href="http://google.com";>
google</a>.. when I click this link, is there a notifier that tells me that
a NEW page load occured?






On Fri, Nov 27, 2009 at 11:29 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:

> On 11/27/09 12:23 PM, Jeeva Muthukrishnan wrote:
>
>> Question: when a user clicks on a LINK (anchor node), I want to know when
>> the processing of the request is complete. i.e. if the link just updates
>> the
>> existing page with content, then I would like to know when the update is
>> complete.. so that when I retrieve the DOM, I see the updated content..
>>
>
> So if the link click starts an animation that moves every 10ms after that
> point.... when do you want to be notified?
>
>  Right now, I just sleep for a minute and then parse the DOM. Most of the
>> time this works, but I would like to know if there is a notifier that I
>> could use.
>>
>
> There isn't one, since the concept of "complete" is not exactly
> well-defined here.
>
> -Boris
> _______________________________________________
> dev-embedding mailing list
> dev-embedding@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-embedding
>
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to