We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Urlbar-icons

Jump to:

« 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,