Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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,