Tip: How to run a new Firefox instance w/ temporary profile
- Create a temporary folder for a temporary profile,
- Run Firefox with argument
-profile path/to/temporary-folder -no-remote -new-instance
- You may delete a temporary profile after you close the Firefox instance.
For windows, To run firefox with the argument, at the command prompt, type the following:
Are you a linux/unix user? If so, you can easily do it with the following shell script:
According to the Sangye's comment, using mktemp(1) is more better: