X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

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)?

Thank you.

Is it possible to set two *different* default profiles for FF 69 and FF 52 (without using -p path)? Thank you.

Изменено Yaron

Цитата

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 32.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:69.0) Gecko/20100101 Firefox/69.0

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17478 решений 157951 ответов
Размещено

Полезный ответ

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.

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. *https://developer.mozilla.org/en-US/Command_Line_Options Firefox 67 and later can use a dedicated profile and lock this profile against other Firefox installations. *https://support.mozilla.org/en-US/kb/dedicated-profiles-firefox-installation 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.
Помогла ли вам это? 1
Цитата
Размещено

Задавший вопрос

Hello cor-el,

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?

Hello cor-el, 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?
Помогла ли вам это? 0
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17478 решений 157951 ответов
Размещено

Полезный ответ

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.

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) *https://dxr.mozilla.org/mozilla-esr52/source/xpcom/io/SpecialSystemDirectory.cpp *https://dxr.mozilla.org/mozilla-esr52/source/xpcom/io/nsDirectoryServiceDefs.h ---- Vista and later support SHGetKnownFolderPath directly. *https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath *https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid
Помогла ли вам это? 1
Цитата
Размещено

Задавший вопрос

cor-el,

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).

cor-el, 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).
Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.