Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking to configure the following Firefox settings through a script (VBS or batch)

  • default home page
  • default search engine
  • disable auto update

Is this possible?

share|improve this question
add comment

2 Answers 2

up vote 5 down vote accepted

You can do this by creating or manipulating Mozilla preferences files with your preferred scripting language.

For a list of preferences that can be set through these files, see the Mozilla Preferences and about:config documentation, although the ones that correspond to your list appear to be:-

  • browser.startup.homepage (default home page)
  • browser.search.defaultenginename (default search engine)
  • app.update.auto (enable/disable auto update)

However, depending on your environment, you might find it better to push settings through a custom add-on (see the XPI comments in the Brief Guide to Mozilla Preferences), or through GPO with FirefoxADM or similar.

share|improve this answer
    
Will FirefoxADM allow you to select your default search engine? –  asp316 Jan 17 '12 at 15:39
    
Click the link to find out! –  surfasb Jan 17 '12 at 23:48
    
I haven't used FADM, but browsing the source, it doesn't appear so. However, you could probably modify it to do so, and contribute your changes back to the project. –  Kanji Jan 18 '12 at 0:04
add comment

You can override private browser options in a file user.js in the user profiles folder. I use it often to override some options for example pipelining. Firefox needs to be restart after you have update the user.js. If the file user.js doesn't exist you must create one.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.