DetachedTabs addon: Selecting tabs programatically

How do you go about selecting tabs programatically while using the DetachedTabs addon.