MDN will be in maintenance mode on Wednesday September 20th, starting at 10 AM Pacific / 5 PM UTC, for about 1 hour.

Example XUL overlay file:

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://demo/skin/overlay.css" type="text/css" ?>

<overlay id="messengerWindow" xmlns="">
  <script type="application/x-javascript" src="overlay.js" />
  <toolbarpalette id="MailToolbarPalette">
    <toolbarbutton id="demo-button"
      class="demo-button toolbarbutton-1"

Add this to the css file you referenced in your xul file:

#demo-button, [place="palette"] > #demo-button {
  list-style-image: url("chrome://demo/skin/icon.png") !important;

Document Tags and Contributors

 Contributors to this page: wbamberg, One
 Last updated by: wbamberg,