This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"] | |
.getService(Components.interfaces.nsIWindowMediator); | |
var enumy = wm.getEnumerator('navigator:browser'); | |
var tabbrowser = enumy.getNext().gBrowser; | |
var browserTimeouts = {}; | |
for (var index = 0; index <= tabbrowser.tabContainer.childNodes.length; index++) { | |
// Get the next tab | |
var currentTab = tabbrowser.tabContainer.childNodes[index]; | |
if (!tabbrowser.browserid) { |