set proxy settings
I support about 1,000 customers and my manager has just approved the use of FireFox with a condition that we set a proxy and it is set each time a user starts Firefox. I would like a VB Script that sets the proxy settings each time Firefox is started. I would think this could be done when the customer starts a script, the script sets the proxy settings and then starts the firefox program. Any suggestions or ideas would be appreciated.
วิธีแก้ปัญหาที่เลือก
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
See:
- http://kb.mozillazine.org/Locking_preferences
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
See also:
- CCK2 Wizard: https://addons.mozilla.org/firefox/addon/cck2wizard/
การตอบกลับทั้งหมด (1)
วิธีแก้ปัญหาที่เลือก
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0);
These functions can be used in the mozilla.cfg file:
defaultPref(); // set new default value pref(); // set pref, allow changes in current session lockPref(); // lock pref, disallow changes
See:
- http://kb.mozillazine.org/Locking_preferences
- http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/
See also:
- CCK2 Wizard: https://addons.mozilla.org/firefox/addon/cck2wizard/