chrome.tabs.onActivated issue

346 views
Skip to first unread message

Phoenix

unread,
Mar 29, 2012, 11:41:48 PM3/29/12
to Chromium-extensions
I want to use this function -
chrome.tabs.onActivated.addListener(function(object activeInfo)
{...});

http://code.google.com/chrome/extensions/tabs.html#event-onActivated

but I can't find chrome.tabs.onActivated in Developer Tools Console.
Why?

my chrome version: 17.0.963.79 m

PhistucK

unread,
May 10, 2012, 2:22:48 AM5/10/12
to Phoenix, Chromium-extensions
Did you add "tabs" to the permission key in your manifest?

PhistucK




--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.


Phoenix Zhang

unread,
May 10, 2012, 2:27:21 AM5/10/12
to PhistucK, Chromium-extensions

Hi,

Yes, I added. I use  chrome.tabs.query  to resolve my problem now.

Best Regards,
Phoenix
Reply all
Reply to author
Forward
0 new messages