Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Removing nav-bar using userchrome.css crashes firefox

  • 3 trả lời
  • 1 gặp vấn đề này
  • 17 lượt xem
  • Trả lời mới nhất được viết bởi 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.

Tất cả các câu trả lời (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; 

}

Được chỉnh sửa bởi JP vào

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.