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.

Urlbar-icons

This article needs a technical review. How you can help.

« XUL Reference home [ Examples | Attributes | Properties | Methods | Related ]

The location of UI elements like the bookmarks, feed and go buttons. Create new image or button child elements to add your own items.

(The URL bar is also known as the Address bar and the Navigation bar.)

Example

The default contents of browser.xul:

<hbox id="urlbar-icons">
  <button be="" chromedir="ltr" class="urlbar-icon" click="" for="" id="safebrowsing-urlbar-icon" img="" level="safe" might="" onclick="goDoCommand('safebrowsing-show-warning');" page="" style="-moz-user-focus:" tooltiptext="This" type="menu">
    <img class="urlbar-icon" id="star-button" onclick="PlacesStarButton.onClick(event);" />
    <img address="" chromedir="ltr" class="urlbar-icon" id="go-button" in="" location="" onclick="handleURLBarCommand(event);" p="" the="" to="" tooltiptext="Go" />
  </button>
</hbox>

Document Tags and Contributors

 Contributors to this page: Brettz9, Sheppy, fhd, Enn, Theory
 Last updated by: Brettz9,