How do I permanently hide the navigation bar?
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?
額外的系統細節
已安裝的外掛程式
- Adobe PDF Plug-In For Firefox and Netscape 10.1.4
- Shockwave Flash 10.3 r183
- The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
- NPRuntime Script Plug-in Library for Java(TM) Deploy
- Next Generation Java Plug-in 1.6.0_27 for Mozilla browsers
- Adobe Shockwave for Director Netscape plug-in, version 11.6.5.635
- 5.1.10411.0
- Microsoft Lync 2010 Meeting Join Plug-in
- Citrix ICA Client Plugin (Win32)
- ActiveTouch General Plugin Container Version 105
- Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
- DRM Store Netscape Plugin
- Npdsplay dll
- DRM Netscape Network Object
- Office Plugin for Netscape Navigator
- PrizmPrintPluginB
- Prizm® Plug-in Imaging Viewer
應用程式
- User Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.7) Gecko/20100101 Firefox/10.0.7
更多資訊
hello, you could add the following line into the userChrome.css file:
#nav-bar { display: none !important; }
提出問題者
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!
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.
有幫助的回覆
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 於