changeInfo is an object that contains url and status (
http://code.google.com/chrome/extensions/tabs.html#event-onUpdated) so if
you want the changed 'url' you need to do "changeInfo.url"

-Mohamed Mansour


2010/1/3 im007boy <[email protected]>

> I have see the onUpdate event
> *chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {*
> *   if (changeInfo.status == 'complete') {*
> *      tabUrl = tab.url;*
> *      tabTitle = tab.title;*
> *      createLink();*
> *}*
>
> but when I debug,I found changeInfo only have one attribute "status",how
> to use *changeInfo.url?Thank you.*
> --
> ------
> Chrome支持迅雷、快车、旋风专用链插件
> http://code.google.com/p/mychrome/wiki/PrivateLinksSupport
>
> --
> 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]<chromium-extensions%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/chromium-extensions?hl=en.
>

--

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