Javascript Array pushTab(tab)
Array.prototype.pushTab = function(tab) { this.pushIfNotExist(tab, function(t) {return t.title === tab.title && t.url === tab.url;}); };