Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by cor-el

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)

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.