Track more tab changes

This commit is contained in:
Dave Pedu 2015-02-13 15:32:12 -08:00
parent 8d4f297902
commit f7c64c05f5
1 changed files with 2 additions and 2 deletions

View File

@ -437,14 +437,14 @@ _tabbro_ = function() {
chrome.tabs.onUpdated.addListener(function(tabid) {
//console.log("tabs.onUpdated")
//console.log(tabid)
// TODO loading indicator when a tab is loading
// TOOO determine if other attributes need to be tracked
// Update tab title
tab = bro.t_getTab(tabid)
if(tab) chrome.tabs.get(tabid, function(_tab) {
tab.title = _tab.title
tab.url = _tab.url
if(_tab.favIconUrl) {
tab.icon = _tab.favIconUrl;
}