Disable user from viewing the preference panel?

Post Reply
applehat
Posts:1
Joined:Wed Apr 04, 2007 6:25 pm
Disable user from viewing the preference panel?

Post by applehat » Wed Apr 04, 2007 6:28 pm

Is this possible? i dont see the setting.

I dont want them to be able to access it at all.

Librarian Aaron
Posts:6
Joined:Tue Mar 27, 2007 9:21 am

Post by Librarian Aaron » Tue Apr 10, 2007 3:57 pm

Yes! This is possible, but it might not be what you'd expect. You need to have a file placed in the "chrome" directory of the user profile.

C:\Documents and Settings\%username%\Application Data\Mozilla\Firefox\Profiles\%profilename%\chrome

The file you want to modify or create is "userChrome.css" which can radically alter the menus within Firefox. I am trying this out for Frontmotion Firefox CE and it works too. I wish the settings for removing or modifying menus with "userChrome.css" were better documented. If anyone has a great reference website, please post.

The userChrome.css setting to remove the "Options" menu is this:

Code: Select all

/* Remove The Tools Menu Entry Options */
menuitem[label="Options..."] { 
display: none !important; }
I have pulled together a number of changes that I think a corporate deployment might like to use.

Code: Select all

/*
 * Begin Firefox Tweaks
 */


/* Remove the Go and Help menus
(These are just examples. Try changing "Go" to "Edit" or "Bookmarks") */
/* menu[label="Go"], menu[label="Help"] {
display: none !important; } */

/* Remove the Help menu
 */
/* menu[label="Help"] {
display: none !important; } */

/* Remove the Go menu
 */
/* menu[label="Go"] {
display: none !important; } */

/* Remove the Bookmarks menu
 */
menu[label="Bookmarks"] {
display: none !important; }

/* Remove the Tools menu
 */
/* menu[label="Tools"] {
display: none !important; } */

/* Remove The File Menu Entry Work Offline */
menuitem[label="Work Offline"] { 
display: none !important; }

/* Remove The File Menu Entry Send Link */
/* menuitem[label="Send Link..."] + menuseparator, menuitem[label="Send Link..."] { */
menuitem[label="Send Link..."] { 
display: none !important; }

/* Remove The File Menu Entry Import */
menuitem[label="Import..."] + menuseparator, menuitem[label="Import..."] { 
display: none !important; }

/* Remove The View Menu Entry Customize List... */
menuitem[label="Customize List..."] { 
display: none !important; }

/* Remove The View Menu Entry Sidebar */
menuitem[label="Sidebar"] { 
display: none !important; }

/* Remove The View Menu Entry Bookmarks Ctrl+B */
menuitem[label="Bookmarks"] { 
display: none !important; }

/* Remove The View Menu Entry History Ctrl+H */
/* menuitem[label="History"] { 
display: none !important; } */

/* Remove The View Menu Entry Status Bar */
menuitem[label="Status Bar"] { 
display: none !important; }

/* Remove The View Menu Entry Toolbars > Customize... */
menuitem[label="Customize..."] { 
display: none !important; }

/* Remove The View Menu Entry Page Style */
/* Note-- This is not working */
menuitem[label="Page Style"] { 
display: none !important; }

/* Remove The Help Menu Entry Release Notes */
menuitem[label="Release Notes"] { 
display: none !important; }

/* Remove The Help Menu Entry Check for Updates... */
menuitem[label="Check for Updates..."] + menuseparator, menuitem[label="Check for Updates..."] { 
display: none !important; }

Post Reply