Lock Firefox Preferences
It is interesting to know that Mozilla provides a mechanism for us to lock any preferences in the option menu. If you would like to play with it, follow these instructions:
- Go to
Tools > Options...
- Change the setting of the preference you want to lock.
e.g. lockGeneral > Home Page Location
to "about:blank". - Open "about:config" to find the key of the preference. Use the filter field to save your time from scrolling up and down.
e.g. Type in "homepage" and you can find "browser.startup.homepage". - Open a notepad and write in the following lines:
//
lockPref("browser.startup.homepage", "about:blank"); - Save it as Mozilla.txt and do byte shift with an offset of 13. Use this byte shift service. You will receive a file "mozilla.cfg", which you must save it at the location of firefox.exe.
- Add the following line to "C:\Program Files\Mozilla Firefox\greprefs\all.js" file:
pref("general.config.filename", "mozilla.cfg");
You will find your homepage field in options uneditable after that.
Reference:
Locking Mozilla Firefox Settings
If my article helped you solved your problem, consider buy me a beer!
Share this article: del.icio.us | digg it
Tags: Firefox
Related posts: