Note: This page documents the Jetpack Prototype, which is  no longer under active development. Read the experiment report for what we learned from it and the blog post announcing the first SDK release for what we're up to next!

In this class you can find information about the tabs in your Firefox window.

The namespace for this class is jetpack.tabs.

blah(lengthstringfocusedstringtoStringstringpopstringpushstringreversestringshiftstringsortstringsplicestringunshiftstring)this is some default text
lengthThe number of open tabsstring
focusedthe current tab in your browserstring
toStringstuffstring
popstuffstring
pushstuffstring
reversestuffstring
shiftstuffstring
sortstuffstring
splicestuffstring
unshiftstuffstring
onReady()when the inherited document is fully loaded.
onFocus()changing the focus of a tab.

Methods

open(urlstring)Opens a new tab in your browser with a defined url.
urlURL to be openedstring
jetpack.tabs.open("http://www.example.com/");
blah(lengthstringfocusedstringtoStringstringpopstringpushstringreversestringshiftstringsortstringsplicestringunshiftstring)this is some default text
lengthThe number of open tabsstring
focusedthe current tab in your browserstring
toStringstuffstring
popstuffstring
pushstuffstring
reversestuffstring
shiftstuffstring
sortstuffstring
splicestuffstring
unshiftstuffstring
onReady()when the inherited document is fully loaded.
onFocus()changing the focus of a tab.

Document Tags and Contributors

 Contributors to this page: Sheppy, MykMelez, JetpackBot, kartikeya.rao, adw
 Last updated by: Sheppy,