I'm just setting up FFox 3 on a room of iMacs (10.5.4). I have edited the global prefs.js file with our various settings to force homepages / proxy settings etc using "user_pref". This works fine, but I would like to use "lockPref" so that students cannot remove proxy settings. If i chage user_pref for lockPref, the entire line of code is ignored so students are left with a default mozilla home page and no proxy at all. If i change it back to user_pref, it all works fine?! Is lockPref the correct syntax for this, or am I missing something?
Also, we use the system proxy plugin so that FFox picks up the system proxy from Mac OS X. However, when FFox launches, it insists on a compatibility check of the plugin which is a pain. I installed a second plugin that disables compatibility checking but this will not run properly when I send the app out to our iMacs (says the file is malformed). Is there another way I can set FFox to NOT check compatibility of installed plugins / addons?
I'm trying to accomplish locked preferences for Firefox as well. I've found various web sites detailing how to do this, but no matter what I try, I'm getting "Configuration Error: Failed to read the configuration file. Please contact your system administrator."
I have a perl script which is "encrypting" the file with rot13, and I'm placing it in /Applications/Firefox.app/Contents/MacOS/grepprefs/
as Geoff said. You then make a text file with your config options/locks in. This goes in Firefox.app/Contents/MacOS after you have changed it to rot13 format and called it mozilla.cfg.
The first time I tried this, I had the same error message. I then remade the text file in SubEthaEdit and changed the line endings to Windows line endings, saved it out as a .txt, then used the online configurator mentioned above to get the .cfg file.