MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

Open content tab

Open a content tab in Thunderbird

Components.classes["@mozilla.org/appshell/window-mediator;1"]
          .getService(Components.interfaces.nsIWindowMediator)
          .getMostRecentWindow("mail:3pane")
          .window.document.getElementById("tabmail")
          .openTab("contentTab", {contentPage: "https://www.mozilla.org/"});

Document Tags and Contributors

 Contributors to this page: rolfedh, Aryx
 Last updated by: rolfedh,