Add New Tab

This is an archived page. It's not actively maintained.

var aURL = "chrome://myext/mytab.xul";
let tabmail = getMail3Pane().document.getElementById("tabmail");
tabmail.openTab("chromeTab", { chromePage: aUrl });