Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How do I permanently hide the navigation bar?

  • 5 ответов
  • 2 имеют эту проблему
  • 225 просмотров
  • Последний ответ от cor-el

more options

I have a young child who uses Firefox. A few years ago I was able to permanently hide the navigation bar to prevent curious browsing (my child is only allowed to use the Bookmarks). I believe I did this through using about:config. Using View->Toolbars->NavigationBar is too easy to figure out. Anyway, my child's computer finally gave up the ghost and I have a new one in which I am trying to child proof. I can't find the appropriate setting in about:config. Can someone help me?

I have a young child who uses Firefox. A few years ago I was able to permanently hide the navigation bar to prevent curious browsing (my child is only allowed to use the Bookmarks). I believe I did this through using about:config. Using View->Toolbars->NavigationBar is too easy to figure out. Anyway, my child's computer finally gave up the ghost and I have a new one in which I am trying to child proof. I can't find the appropriate setting in about:config. Can someone help me?

Все ответы (5)

more options

hello, you could add the following line into the userChrome.css file:

#nav-bar { display: none !important; }

more options

Thanks for your reply. It did not work on my machine here at work but we have an odd version of Firefox 10. I will be using the latest Firefox with Windows 7 on my child's machine. I will try it at home. Thanks!

more options

hello Firefox_Dad

see also a not permanent solution: Hide Navigation Bar add-on

thank you

more options

it shouldn't make a difference if you're using firefox 10 or 16 - however editing the userChrome.css might be a bit tricky if you haven't done it before. when the file doesn't yet exist in the chrome-subfolder of your firefox directory you'd have to manually create it - see here for a template of the content of the file: http://pastebin.com/QL1mKsv1 (hiding of the nav bar is already included).

any changes to the file will only take effect after a restart of firefox.

more options

Note the pressing the Ctrl+L shortcut will still bring up a pop-up window with a location bar and it is possible to move the location bar to one of the other toolbars.
So you may want to hide that pop-up as well.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#nav-bar, #urlbar-container, #search-container, #openLocation { display:none!important; }

Изменено cor-el