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.

Is it possible to create Firefox profiles via the command line? I need to programatically launch Firefox with different proxy settings. From my understanding, I can do this via creating a profile. However, I don't want to create these profiles manually.

share|improve this question

migrated from stackoverflow.com Feb 4 '10 at 20:41

This question came from our site for professional and enthusiast programmers.

    
You may get a better response on superuser.com –  staticx Feb 4 '10 at 20:16

1 Answer 1

You sure can!

example:

firefox -CreateProfile john

check out the rest of Firefox's command line arguments.

Once your profile is created and configured you can launch the profile by doing the following:

firefox -P john
share|improve this answer
    
The -CreateProfile is not available in recent versions of Firefox anymore. Is there any manual way to simulate this command? –  Amir Ali Akbari 9 hours ago

Your Answer

 
discard

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