Removing nav-bar using userchrome.css crashes firefox
I updated the below code in userchrome.css @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
- tabbrowser-tabs { visibility: collapse !important; }
- nav-bar {visibility: collapse !important;}
browser {margin-right: 0px; margin-bottom: 0px ! important;}
==================================
The firefox goes blank when opened, Resizing or maximizing the window refreshes firefox and it loads.
I deleted profile data and it works a couple of times and it happens again. A blank page.
所有回复 (3)
Try these two things and if it still crashes please inform:
#main-window:not([tabsintitlebar="false"]) #TabsToolbar { visibility: collapse !important;
}
#nav-bar { visibility: collapse !important;
}
由JP于
Yes, it crashes. The css styles looks similar to what I had. The problem still exist.
Maybe set max-height: 1px !important; to still have the #nav-bar present in the DOM, so items that anchor to it can still do this.