Thank you very much.

Amir.

On Dec 6, 11:37 pm, Aaron Boodman <[email protected]> wrote:
> On Sun, Dec 6, 2009 at 6:33 AM, Amir Cohen <[email protected]> wrote:
> > I want to listen to document complete event, so I added the following
> > lines into my background.html file:
>
> >    chrome.tabs.onUpdated.addListener(function(tabId, changeInfo,
> > tab)
> >        {
> >                if(changeInfo.status == 'complete')
> >                {
> >                 ....
> >                }
> >        }
>
> > The problem is that I get this event for every frame in the page but I
> > need to get it for the whole page only.
>
> Really? That is unexpected. It should be only for the top frame. If that
> isn't working, you could workaround it by adding a content script and
> sending a message to the extension. Content scripts by default run only in
> the top frame.
>
> - a

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" 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/chromium-extensions?hl=en.


Reply via email to