mozilla
Your Search Results

    selectTab

    The BrowserApp object is only available to privileged code running on Firefox for Android, and is intended for use by Firefox for Android add-ons.

    Summary

    BrowserApp.selectTab(tab) makes the supplied tab the currently selected tab.

    Syntax

    window.BrowserApp.selectTab(tab);
    tab
    The tab to select, represented as a Tab object.

    Example

    This code makes the first tab the currently selected tab:

    window.BrowserApp.selectTab(window.BrowserApp.tabs[0]);

    See also

    • ---FIXME:

    Document Tags and Contributors

    Contributors to this page: wbamberg, kscarfone, ethertank
    Last updated by: wbamberg,
    Hide Sidebar