Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Removing nav-bar using userchrome.css crashes firefox

  • 3 odpowiedzi
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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; 

}

Zmodyfikowany przez JP w dniu

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.