Disable searches via the address bar #
This script can be used to automate the reconfiguration of firefox
#!/bin/bash -x
FIREFOX_HOME=~/.mozilla/firefox
DEFAULT_PROFILE=$(awk -F= '/Default=/{ print $2 ; exit }' $FIREFOX_HOME/profiles.ini)
USER_JS=$FIREFOX_HOME/$DEFAULT_PROFILE/user.js
cat > $USER_JS <<END
// User Preferences
user_pref("browser.urlbar.suggest.searches", false);
user_pref("browser.fixup.alternate.enabled", false);
user_pref("keyword.enabled", false);
END