Black belts on Computer Repairs
Call 818 262 5621
|Home Services ContactFirst Aid Password Recover Remote Support|
1. Change and lock Proxy setting:
For instance you may want to prevent people from changing the proxy setting, the homepage, the ability to save passwords, etc. It is possible, but it’s a little complicated.
First you need to find out what the names are of the preferences you wish to lock.
The best way to do this is by entering about:config in the Firefox location bar.
Every preference that has been used will appear in the resulting list.
You can use the filter field to search for preferences that contain certain words.
For instance, if you’re looking for the homepage URL setting, just type homepage in the filter field.
For more info on preference names, and about:config see: http://kb.mozillazine.org/About:config Next, create a file anywhere on your hard drive, called mozilla.txt.
Open mozilla.txt in a text editor (Notepad), and begin the first line with two forward slashes.
The following lines will contain the preferences you want to lock, and their values.
They should be in the same form as you see them in your profile’s prefs.js file, with one exception: instead of using user_pref, use lockPref.
For instance, if you want to lock the proxy at “direct connection“, and lock the homepage at (forgive the ego) http://ilias.ca, the contents of your mozilla.txt file would look like this: // lockPref("network.proxy.type", 0); lockPref("browser.startup.homepage", "http://ilias.ca/"); Here’s where it gets tricky.
The file must be encoded, and renamed. The encoding is a simple “byte-shifting” with an offset of 13.
The resulting file should be named mozilla.cfg. Save that in the same directory as firefox.exe. Last step: In C:\Program Files\Mozilla Firefox\greprefs\ there’s a file called all.js.
Open all.js in a text editor, and add the following line at the end of it: pref("general.config.filename", "mozilla.cfg"); Save, close, and start Firefox to test it.
Will make your computer behave!
Copyright (C) Tal Bahir, Inc 2008