Hi I just modified Google Mail Checker to prevent it to open a new tab if a gmail tab is already opened.
I modified the function goToInbox like that : var gmailre = /https?:\/\/mail\.google\.com\//; function goToInbox() { chrome.tabs.getAllInWindow(undefined, function(tabs) { var done = false; for(var i = 0; i < tabs.length; i++) { var tab = tabs[i]; if(tab.url && tab.url.match(gmailre)) { chrome.tabs.update(tab.id, {selected: true}); done = true; break; } } if(!done) { chrome.tabs.create({url: gmail}); } }); } And you should probably change those variables to use the secure http protocol : var gmail = "https://mail.google.com/"; var gmailAtomRef = "https://mail.google.com/mail/feed/atom"; It would be great if the author of the extension applied it ... -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.