This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Removing nav-bar using userchrome.css crashes firefox

  • 3 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

I updated the below code in userchrome.css @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

  1. tabbrowser-tabs { visibility: collapse !important; }
  2. 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.

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.

All Replies (3)

more options

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; 

}

Modified by JP

more options

Yes, it crashes. The css styles looks similar to what I had. The problem still exist.

more options

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.