[Project_owners] overlay Tools menu

Alex Dolgy alex_lang at mail.ru
Fri Sep 9 12:10:50 EDT 2005


How to overlay Mozilla Browser Tools menu?

I've tried
in tryOverlay.xul

<!-- Firefox Tools menu -->

<menupopup id="menu_ToolsPopup">

    <menuitem id="tryMenu" class="menuitem-iconic menu-iconic tools-soapsniffer16" position="6" label="SOAP Sniffer" accesskey="S" oncommand="window.open('chrome://try/content/', '_blank', 'chrome, resizable');"/>

</menupopup>



<!-- Mozilla Tools menu -->

<menupopup id="taskPopup">

    <menuitem id="tryMenu" class="menuitem-iconic menu-iconic tools-soapsniffer16" position="6" label="SOAP Sniffer" accesskey="S" oncommand="window.open('chrome://try/content/', '_blank', 'chrome, resizable');"/>

</menupopup>

and in contents.rdf

<!-- overlay -->

  <RDF:Seq RDF:about="urn:mozilla:overlays">

    <RDF:li resource="chrome://browser/content/browser.xul" />

  </RDF:Seq>

  <RDF:Seq RDF:about="chrome://browser/content/browser.xul">

    <RDF:li>chrome://try/content/tryOverlay.xul</RDF:li>

  </RDF:Seq>



But it works only for Firefox

Best regards,
Alex



More information about the Project_owners mailing list