Posts Tagged ‘Firefox’

How to: Change the view of Mozille Firefox options menu

Today I’ve upgraded Mozilla Firefox from version 35.0.1 to 38.0.5. After the succesfully upgrade, everythin looks fine. But there’s one crucial thing that has been changed in version 38.x. The “Options” menu is not a pane anymore, but it will be open in a new tab. I’ve customized some things in the browser (hide the network button) in the UserChrome.css file. In the new Options tab, the netwerk button is available again for my users. So, I want to hide this option and it works great in version 35.x.

With a simple edit in the UserPref.js file within the profile of my users, I can force the “Options” menu view in the ‘old’ way. After that, the network button is gone again!! :)

I’ve used RES Workspace Manager 2014 for distribution the new UserPref.js file to all of my users, but you can also use some other 3th party software or do it just manually.

1.) Open Mozilla Firefox 38.x
2.) Type about:config
3.) Search for “browser.preferences.inc
4.) Set the option “Browser.preferences.inContent” from true to false
5.) Close Mozilla Firefox and open it again

Options_01    Options_02    Options_03

Options_04    Options_05    Options_06

How to: Remove “settings” button in Mozilla Firefox

In some scenario’s you want to remove some buttons within the options of Mozilla Firefox. Because there are not that enhanced group policies for Mozilla Firefox, you’ve to script something. In my example I’ve used RES Workspace Manager to distribute the modified files, but you can also use something else. For example: PowerShell, batchfiles or Group Policy Preferences.

You can edit the file userChrome.css in the folder AppData\Roaming\Mozilla\Profiles\<nameofyourprofile>\chrome to tweak the menu settings within Mozilla Firefox. In my example I’ve added the following rule:
/* Remove connection button */
#connectionSettings { display: nome !important; }

When you open Mozilla Firefox the next time, the “Settings” is gone! :)

2014-12-31_09h52_20    2014-12-31_09h52_56    2014-12-31_09h56_05

2014-12-31_09h56_55   2014-12-31_09h53_55