Does not work with Firefox forks
This extension does not work on forks of Firefox, such as Floorp.
As mentioned by @null-dev in https://github.com/null-dev/firefox-profile-switcher-connector/issues/8 it works with another browsers if you change the settings.
For Floorp (on Linux) you need to change the file ~/.config/firefoxprofileswitcher/config.json
{
"browser_profile_dir": "/home/<your username here>/.floorp",
"browser_binary": "/usr/bin/floorp"
}
Similar for Mercury just set the correct settings for the browser binary path AND the browser profile folder.
Where should this config be on Macos? Installed via brew
Don't really need for this Floorp btw, Floorp already has its own built-in Profile Switcher.
Don't know if this helps anyone but I was unaware that you can manage profiles directly from about:profiles in the URL bar (create, delete, set as default, launch profile in new browser).
Just an update, as of Firefox 138.0b9, it has a built-in profile switch feature that gives you the behavior of this extension. It also handles opening links you click in other apps into the last active window you had selected.
It can be enabled in about:config by setting browser.profiles.enabled to true