隠しプロパティ?タブをアクティブにする。 | chrome extension
content scriptからデータを渡して、既存のタブをアクティブに
開いているタブをアクティブにする方法が分からなかったのですが、なんとか
http://code.google.com/chrome/extensions/tabs.html#method-update
ここをみると
update で active:true くらいしか無いのですが
selected というプロパティが存在していると
chrome.tabs.update( grBk.menu.tab.id, {selected:true}, function(tab){});
これで行けました!
content scriptからbackgroundを呼んで、background で このupdateをします。