Script for Proxy Settings (UNCLASSIFIED)

Not applicable

Classification: UNCLASSIFIED
Caveats: FOUO

Below is a small script that we use to quickly add the locked proxy
configs to each successive version of Firefox before deploying it. The
config.obscure_value, 0 removes the need for bit shifting.:

Usage: firefoxproxy.sh "/Applications/Firefox.app"

echo "pref("general.config.obscure_value",0);
pref("general.config.filename", "firefox.cfg");
">>"$1"/Contents/MacOS/defaults/pref/firefox.js

echo "lockPref("app.update.enabled", false);
lockPref("network.proxy.type", 2);
lockPref("network.proxy.autoconfig_url", "http:// ");
pref("browser.startup.homepage", "about:blank");
">"$1"/Contents/MacOS/firefox.cfg
Classification: UNCLASSIFIED
Caveats: FOUO

0 REPLIES 0