here are some tips for disabling Firefox User settings with XFCE 4.10. I used this in the
newest Mint to disabling History, Private Mode aso.
Steps to go:
1. Edit sysprefs.js, userChrome.css and userContent.css as root
2. Don't forget to install the Add-On keyconfig, too.
Disable all shortcuts for the private browsing, history and so on
before deactivating "tools-menu"
-----
edit /etc/firefox/syspref.js
here we set google.de as startup page, and locking some prefs for
ALL firefox users
lockPref("browser.startup.homepage", "http://www.google.de");
lockPref("places.history.enabled", true);
lockPref("places.history.expiration.transient_current_max_pages", 150);
lockPref("privacy.clearOnShutdown.history", false);
lockPref("browser.privatebrowsing.autostart", false);
-----
then edit the chrome files for the users you want to change
$HOME/.mozilla/firefox/*.default/chrome/userChrome.css
here we disable some menus, some menu points (german language) and the
context menu
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#edit-menu { display: none !important; }
/*deactivate tools-menu after installing add-on keyconfig and removing shortcuts*/
#tools-menu { display: none !important; }
#view-menu { display: none !important; }
#helpMenu { display: none !important; }
#bookmark-menu { display: none !important; }
#history-menu { display: none !important; }
#addon-bar { display: none !important }
menuitem[label="Unsortierte Lesezeichen"] { display: none !important; }
menuitem[label="Alle Lesezeichen anzeigen"] { display: none !important; }
#toolbar-context-menu
{
display: none !important;
}
-----
after that, edit/create userContent.css
and disable the "about:config"
$HOME/.mozilla/firefox/*.default/chrome/userContent.css
/*disable about:config*/
#configTree {display:none !important;}
-----
don't forget to install the add-on keyconfig to remove all
shortcuts in firefox which points to History, Private Mode,
Clear History, Add-On and so on.
After that you could insert the line in the userChrome.css
#tools-menu { display: none !important; }
so the user can't setup the Add on via the Tools menu.

