99
rated 0 times
[
103]
[
4]
/ answers: 1 / hits: 41428
/ 13 Years ago, wed, june 1, 2011, 12:00:00
From a content script, is it possible to access that tab's id
?
I want to send a message to the background page from the content script that tells my extension to "do something with this tab" using the chrome.tabs.*
API.
A tabID
is needed, and there is no point in doing a bunch of logic in the background page to hunt for a tabID
when my content script can simply tell it the tabID
in the message contents.
More From » google-chrome-extension