How would I iterate through all tabs a user has open and then check if they have a particular HTML item with id = \'item\'?
id = \'item\'
I use this one
chrome.tabs.getAllInWindow(null, function(tabs) { $.each(tabs, function() { // u can use 'this.id' to work with evey tab }); });