Menubar Buttons Group
Buttons
A button for each menu on the menubar. These were originally made by aranittara, but have been completely recoded to allow for the new grouping feature in custom buttons extension as well as cloning of the menus in a smoother fashion. The buttons also hide the corresponding menus they are replacing.
There is one additional button not available directly from the menubar, that is the Bookmarks Toolbar Menu, it clones the menu from within the Bookmarks Menu.
These no longer require a restart to get working. Unless upgrading from previous versions (aranittara's), then you would still need a restart.
Behavior
| Action | Behavior |
|---|---|
| |
|
Revisions
Code
/*Code*/Init
var that=this,Cb=custombuttons,num=Cb.getNumber(this.id),menuName='file-menu',popupID="cb2mBar-"+menuName+num; document.getElementById(menuName).setAttribute('collapsed','true'); this.initBtn = function() { var menuNode = document.getElementById(menuName).firstChild; mPop=menuNode.cloneNode(true); mPop.setAttribute("id", popupID); that.appendChild(mPop); } setTimeout(this.initBtn, 5000); this.hideDropMarker = function() { var dropMarker = document.getAnonymousElementByAttribute(that, "class", "toolbarbutton-menu-dropmarker"); if (dropMarker) { dropMarker.setAttribute("hidden", "true"); } else { setTimeout(that.hideDropMarker, 1); } } that.hideDropMarker(); this.type="menu"; this.setAttribute("class", "menu-iconic"); // mouseovers this.setAttribute("onmouseover", "this.hideDropMarker();" ); // button attributes this.setAttribute("author",'nicholas'); this.setAttribute("version",'20081211.00'); this.setAttribute('homepage', 'http://custombuttons2.com/forum/buttons/buttons-database/menubar-buttons-group.html'); this.setAttribute("dependency",'FF 3.0.*,CB 2.0.7.9*'); this.setAttribute("status",'Complete'); this.setAttribute("public",true); // make it part of the button group for menubar-menus custombuttons.setToolbarGroup(this, "menubar-menus");
Help
No help developed for <label> button custombuttons-button<id>.
Details
test3






Can this button be fixed so that middle-clicking on a bookmark opens it in a new tab. This functionality exists in the Bookmarks Menu button but not the Bookmarks Toolbar Menu.
Custom Buttons² v.3.1.0
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Posted with the theme Pluralism