Can someone help. I've installed userChromeJS and have the following in my userchrome.js,
Code: Select all
// Make the back/forward dropdown list bigger
if (typeof(FillHistoryMenu) != "undefined")
eval("FillHistoryMenu = " + FillHistoryMenu.toString().replace(/MAX_HISTORY_MENU_ITEMS(?! =)/g, "40"));
//
// Statusbar in Menubar (or urlbar, choose element thanks to its ID)
var statusbar = document.getElementById("status-bar");
var menubar = document.getElementById("toolbar-menubar");
menubar.appendChild(statusbar);
statusbar.setAttribute("style", "-moz-appearance: -moz-win-glass;"); // -moz-win-communications-toolbox
//statusbar.setAttribute("style", "-moz-appearance: toolbar;");
statusbar.setAttribute("flex", "1");
document.getElementById("urlbar").addEventListener("mouseover",function(){XULBrowserWindow.setOverLink("",null)},false);
document.getAnonymousElementByAttribute(statusbar, 'class', 'statusbar-resizerpanel').setAttribute("style", "display: none;");
//statusbar.contextMenu = null;
//
The History menu bit is working, but the status bar move only shows on the first window to open
when FireFox restarts (multiple windows open & then restarted), the rest of the windows have no status bar
and no menu bar. Sometimes I lose it in the first menu too and have to delete localstore.rdf to get them back.
Anyone know what's happening, or how to apply it to all windows?
Michael
EDIT Note it usually works as written, but often on restart it doesn't. So something non-standard is going on. /EDIT