Code: Select all
ReferenceError: ExtensionOptionsMenu is not defined browser.xul:1:24
Code: Select all
ReferenceError: ExtensionOptionsMenu is not defined browser.xul:1:24
Chris000001 wrote:In the EOM.xpi>chrome>content>OptionsMenuOverlayFF_CTR.xul file, replace:with:Code: Select all
<vbox id="appmenuSecondaryPane"> <hbox id="EOM_CTR" insertafter="appmenu_addons"> <menuitem id="EOM_CTRmain" label="&addons.label;" class="menuitem-iconic" command="Tools:Addons" flex="1"/> <menu id="EOM_CTRarrow" label=" " class="menu-iconic"> <menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/> </menu> </hbox> </vbox>
If you want the menu to say 'Extension options' instead of 'Add-ons', replace label="&addons.label;" with label="&EOM.ExtensionOptions;" in the new code.Code: Select all
<vbox id="appmenuSecondaryPane"> <menu id="EOM_CTR" insertafter="appmenu_addons" class="menu-iconic" label="&addons.label;" style="list-style-image: url('chrome://optionsmenu/skin/icon.png'); -moz-image-region: auto; margin-top: 12px;"> <menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/> </menu> </vbox>
Actually I guess when I left click the main "Add-ons" menu entry, it isn't taking me to the Add ons page. I have to select one of the add ons out of the sub menu. Is there more code I need to add to this?PimpUigi wrote:Chris000001 wrote:In the EOM.xpi>chrome>content>OptionsMenuOverlayFF_CTR.xul file, replace:with:Code: Select all
<vbox id="appmenuSecondaryPane"> <hbox id="EOM_CTR" insertafter="appmenu_addons"> <menuitem id="EOM_CTRmain" label="&addons.label;" class="menuitem-iconic" command="Tools:Addons" flex="1"/> <menu id="EOM_CTRarrow" label=" " class="menu-iconic"> <menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/> </menu> </hbox> </vbox>
If you want the menu to say 'Extension options' instead of 'Add-ons', replace label="&addons.label;" with label="&EOM.ExtensionOptions;" in the new code.Code: Select all
<vbox id="appmenuSecondaryPane"> <menu id="EOM_CTR" insertafter="appmenu_addons" class="menu-iconic" label="&addons.label;" style="list-style-image: url('chrome://optionsmenu/skin/icon.png'); -moz-image-region: auto; margin-top: 12px;"> <menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/> </menu> </vbox>
Yeah, this is working perfectly for me and syncs it up to CTR.
Is it possible to have this be a permanent option in the add on?
Code: Select all
<vbox id="appmenuSecondaryPane">
<menu id="EOM_CTR" insertafter="appmenu_addons" class="menu-iconic" label="&addons.label;" style="list-style-image: url('chrome://optionsmenu/skin/icon.png'); -moz-image-region: auto; margin-top: 12px;" onclick="{window.BrowserOpenAddonsMgr();document.getElementById('appmenu-popup').hidePopup();}">
<menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/>
</menu>
</vbox>
Code: Select all
<vbox id="appmenuSecondaryPane">
<menu id="EOM_CTR" insertafter="appmenu_addons" class="menu-iconic" label="&addons.label;" style="list-style-image: url('chrome://optionsmenu/skin/icon.png'); -moz-image-region: auto; margin-top: 12px;" splitmenu="true" onclick="if(classicthemerestorerjs.ctr.prefs.getBoolPref('appbclmmenus') && event.button=='0' && event.originalTarget.getAttribute('splitmenu')=='true') {window.BrowserOpenAddonsMgr();document.getElementById('appmenu-popup').hidePopup();}">
<menupopup id="EOM_CTRpopup" oncontextmenu="event.preventDefault()"/>
</menu>
</vbox>
Yes.nohamelin wrote:@max2
Are you asking by an specific add-on? At least Extension Options Menu, Themes Menu and Addon Update Checker are already e10s compatible, and they are identified as such by the browser. I didn't check the rest.