Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How can I hide the menu bar of better a specific option without using an addon?

  • 3 antwurd
  • 0 hawwe dit probleem
  • 24 werjeftes
  • Lêste antwurd fan cor-el

more options

For security purpose on my environment, I would like to hide the Menu Bar option or (better) restrict the right to install an add-on, change the proxy configuration etc..

I dont want to use an add-on for that as it will perhaps not work anymore if I update my firefox.

So i am searching for a registry/file user preference solution or anything else that will let me doing that.

Thank you for your help

This happened

Every time Firefox opened

everytime

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

For security purpose on my environment, I would like to hide the Menu Bar option or (better) restrict the right to install an add-on, change the proxy configuration etc.. I dont want to use an add-on for that as it will perhaps not work anymore if I update my firefox. So i am searching for a registry/file user preference solution or anything else that will let me doing that. Thank you for your help == This happened == Every time Firefox opened == everytime == == User Agent == Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Alle antwurden (3)

more options

You can hide the menu bar and other toolbars with code in userChrome.css below the @namespace line.

See http://kb.mozillazine.org/Editing_configuration#How_to_edit_configuration_files

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

#toolbar-menubar {display:none!important;}

See also http://kb.mozillazine.org/Locking_preferences

Bewurke troch cor-el op

more options

Thanks a lot, it is working fine !

Another question please. I would like to deploy this solution on several computers and for every users in our company. My question is "how can I do that as the path is not the same for every computer (xxxxxxxx.default folder)?"

Thank you.

more options

For new users and profiles you can place the file userChrome.css in the default template chrome folder where also the userChrome-example.css file is located. C:\Program Files\Mozilla Firefox\defaults\profile\chrome\

For existing profiles the only solution is to copy the file userChrome.css to the chrome folder in each profile folder. That would require to parse profiles.ini to get the (relative) path of the current default profile that has a random (salted) name (xxxxxxxx.default).