Default profiles for FF 69 and FF 52
Is it possible to set two *different* default profiles for FF 69 and FF 52 (without using -p path)?
Athraithe ag Yaron ar
Tuilleadh mionsonraí faoin chóras
- Shockwave Flash 32.0 r0
- User Agent: Mozilla/5.0 (Windows NT 6.1; rv:69.0) Gecko/20100101 Firefox/69.0
Firefox 52 will use the profile that is marked as Default=1 in profiles.ini or the profile you specify with the "-P <profile-name>" command line switch in a desktop shortcut.
Firefox 67 and later can use a dedicated profile and lock this profile against other Firefox installations.
Firefox 52 ESR and 60 ESR do not support this profile lock (you need Firefox 67 or later). I don't know whether Firefox 69 modifies profiles.ini and changes the Default profile setting in some cases. The most problematic is what happens if you open external links in Firefox (default browser and default profile). If Firefox 52 is the default browser then it uses the Default=1 profile without warning. Firefox 69 is smart enough to find and use its own dedicated profile.
Úinéir na ceiste
Thanks for replying.
Do you know where "C:\Users\---\AppData\Roaming\Mozilla\Firefox" is set in FF 52 source code?
Or perhaps a Registry tweak?
This isn't specifically coded in Firefox. This is done by calling Windows Shell functions to get known folder IDs with a possible fallback to the Windows registry. See GetWindowsFolder (#101) and GetRegWindowsAppDataFolder (#179)
Vista and later support SHGetKnownFolderPath directly.
Úinéir na ceiste
Thank you very much for the detailed and helpful reply. I do appreciate that.
I was hoping it would be at the JS level (I've never built FF).