How would i programmatically determine the profile that firefox is using when it is launched. I need to be able to do this from my OSX application. I receive a notification that firefox is opened. If I know the profile being used, I can determine if our firefox extension has been installed for that user profile.
I have looked at profile.ini and install.ini. But neither gives me an indication as to the current profile being used.