How can I grey out the button of "Use Current Page" under Tools -> Options -> General through modify the registry setting ?
if we want to prevent an unauthorized modification of firefox setting, how can we achieve this through registry modification
All Replies (2)
I am not sure that is possible.
but some general comments
It sounds rather like questions along the lines of: " how do I stop users accessing my files/folders/other web-pages with firefox." To which the usual solution is to consider server security and XP pro OS permissions.
I suppose you could for instance run code to rewrite the relevant preference before starting firefox itself so that a predetermined homepage does display.
( I have never tried it or thought much about it, but what happens if the preferences are set as read only ? )
What exactly are you trying to achieve and why ?
I ask because; if you are trying to deny or restrict user access/choice; what is to stop a user navigating to other pages, or even installing another copy of firefox, another profile or another browser. ( or IE being already available on XP presumably, using IE, or even Windows explorer.exe )
You can lock the pref that sets the Home page if that is what you want to achieve.
- http://kb.mozillazine.org/Locking_preferences
- lockPref("browser.startup.homepage", "http://www.google.com/");