Kindly advise how i can export and distribute settings done on "about:config == network.automatic-ntlm-auth.trusted-uris" to all computers in the network. What is the best way to effect this changes on all Machines?
I want user to access sharepoint on Mozilla without being prompted for credentials instead it should use logged on credentials
All Replies (9)
Hi Meshackl, there is a very simple way with the distribution.ini file. Mike Kaply describes how to do that here: http://mike.kaply.com/2012/03/26/customizing-firefox-distribution-ini/
You can also use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift
See:
You can use these functions in mozilla.cfg:
defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes
Hi, i have not succeeded in seeing the distribution.ini file please advise. am not getting it clearly how to even distribute to other machines.
Cor-el, Please advise, i cant also seem to get the mozilla.cfg file in the installation folder..
What did you do so far?
If Firefox finds the "general.config.filename" setting in the local-settings.js file in the defaults\pref folder then you would get an error message if mozilla.cfg can't be found or processed properly.
So if you do not come that far then first check that out.
What is the content of the not obscured mozilla.cfg file?
Hi Cor-el, this is the only file in my pref folder channel-prefs.js , is it the one am supposed to export?
C:\Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js
No, you need to add another JS file to that folder named local-settings.js (the name doesn't really matter) with the above posted content to make it possible fore Firefox to know that a mozilla.cfg needs to be used.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift and have a plain text file
Hi, Thanks for your reply, I appreciate your support. I have created the local-settings.js and pasted this; pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift
is that all?
Are you obfuscating the mozilla.cfg file with a ROT13 byte shift?
If you do then you only need the line with the general.config.filename pref (the default for general.config.obscure_value is 13).