The add-on bar

  • Revision slug: The_add-on_bar
  • Revision title: The add-on bar
  • Revision id: 90112
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 16 words added

Revision Content

{{ fx_minversion_header("4") }}{{ draft() }}

Firefox 4 eliminates the status bar from the bottom of the browser window in favor of a new toolbar located at the bottom of the window. This new toolbar, with the ID "addon-bar", is a standard XUL {{ XULElem("toolbar") }}; add-ons can insert content into it, and the user can drag buttons into it while customizing their toolbars. This is the primary difference between the add-on bar and the old status bar; you can now put any XUL element into it, since it's a standard toolbar.

Note: For the time being, there is a status bar shim included so that add-ons that expect the status bar to be present will still work. This will go away soon, so update your add-on now!

Appearance differences

  • Since the browser no longer occupies a large percentage of the bar with status information, the entire area is available for add-ons to use.
  • The add-on bar is empty and hidden by default; the user must elect to make it visible.
  • If an add-on installs itself to the add-on bar directly and the bar is not already visible, the bar becomes visible automatically.
  • If uninstalling an add-on makes the number of items in the add-on bar become zero, the bar is hidden automatically.

Revision Source

<p>{{ fx_minversion_header("4") }}{{ draft() }}</p>
<p>Firefox 4 eliminates the status bar from the bottom of the browser window in favor of a new toolbar located at the bottom of the window. This new toolbar, with the ID "addon-bar", is a standard XUL {{ XULElem("toolbar") }}; add-ons can insert content into it, and the user can drag buttons into it while customizing their toolbars. This is the primary difference between the add-on bar and the old status bar; you can now put any XUL element into it, since it's a standard toolbar.</p>
<div class="note"><strong>Note:</strong> For the time being, there is a status bar shim included so that add-ons that expect the status bar to be present will still work. This will go away soon, so update your add-on now!</div>
<h2>Appearance differences</h2>
<ul> <li>Since the browser no longer occupies a large percentage of the bar with status information, the entire area is available for add-ons to use.</li> <li>The add-on bar is empty and hidden by default; the user must elect to make it visible.</li> <li>If an add-on installs itself to the add-on bar directly and the bar is not already visible, the bar becomes visible automatically.</li> <li>If uninstalling an add-on makes the number of items in the add-on bar become zero, the bar is hidden automatically.</li>
</ul>
Revert to this revision