as you can read here:
http://code.google.com/chrome/extensions/dev/content_scripts.html
content scripts cannot access most of the chrome.tabs API so you will
need to use
http://code.google.com/chrome/extensions/messaging.html
to deliver the needed information. if its just about the tab.id, maybe
this post will help you:
no problem to ask a "silly question", as long as you tried solving it
for yourself first by e.g. a search on stackoverflow or the docs ;)
--
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.