Which Firefox profile am I using right now?
Wednesday Nov 04, 2009
Sometimes, I'd like to know which profile I am using with my current Firefox instance (for example if an instance has been open for a long time, or if I'm running two instances (using firefox -P -no-remote) at the same time.
I found the solution on this web site:
Start Tools->Error Console (or press <ctrl><shift>j)
Then, in the Code line at the top (you can jump to it using <ctrl>o), enter the following code and press Return (or click the "Evaluate" button):
alert(Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path);
It will show the full path of your profile in a popup window. The name of the profile is the last string after the last dot.










