PilgrimToHyperion
Expert Member
- Joined
- Jul 4, 2009
- Messages
- 1,105
- Reaction score
- 71
We have to roll out Firefox to a few hundred machines at work. We've got the silent install sorted but we need to set the proxy to "Automatic proxy configuration URL" and populate the field at install time or right after using a batch file or a script.
I've figured out how to actually populate the field using a batch file (editing the perf.js file), but I cannot programmatically select the button next to "Automatic proxy configuration URL".
Any advice would be appreciated.
EDIT
Here's what I've got in my batch file to populate the field.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
echo user_pref("network.proxy.automatic_url", "our_url_to_our_script ");>>"%ffile%\prefs.js"
set ffile=
cd %windir%
Sorry can't remember what the attribute network.proxy.automatic_url is actually called. Left the code at work.
I've figured out how to actually populate the field using a batch file (editing the perf.js file), but I cannot programmatically select the button next to "Automatic proxy configuration URL".
Any advice would be appreciated.
EDIT
Here's what I've got in my batch file to populate the field.
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
echo user_pref("network.proxy.automatic_url", "our_url_to_our_script ");>>"%ffile%\prefs.js"
set ffile=
cd %windir%
Sorry can't remember what the attribute network.proxy.automatic_url is actually called. Left the code at work.
Last edited: