mortenn / BrowserPicker

Smart browser selector for Windows
MIT License
244 stars 17 forks source link

Multiple Profile support in Chrome #56

Open ghost opened 3 years ago

ghost commented 3 years ago

Had a look at the new release and it looks real nice! Was wondering if there's any chance of support for multiple Chrome profiles in future versionsa?

mortenn commented 3 years ago

I don't tend to use chrome, so I am not familiar with such a feature. If you can provide information about how it works, or even a PR, I would be happy to add support. Alternatively, you could simply add the profiles manually from the browser configuration window, I suppose.

This issue is kind of related to issue #2 - not sure how to represent either in the UI, as some users might end up with a really long list if both of these are implemented and default enabled :)

WizX20 commented 2 years ago

Profile switching has also been available on Edge Chromium since 2020 if I'm correct, see Using multiple profiles at work and at home is now easier with Microsoft Edge.

I'm was not sure if there were any big differences between chrome and edge implementation-wise, there do not seem to be. I searched a bit and came across this repo: EDGEProfiles. Which contains a powershell with some hints of where to the profiles live in the registry etc. That plus some additional search gave me the following:

By the looks of it, if BrowserPicker would allow us to add the same browser multiple times, with arguments, where you can enter the profile.... would be a minimal working version?

mortenn commented 2 years ago

Indeed that would work, hopefully can get around to building some first party support in though, the user experience of setting them up by hand as separate browsers isn't the best thing ever :)

As for the UI, it might get a bit busy if all of a sudden a lot of containers start popping up as options, so might want to be watchful of that.

I have some ideas;

Hopefully I can find some time to work on this again soon, but in the meantime, PRs are most welcome :)

aloneguid commented 1 year ago

Looks like every browser, even Chromium based, does it slightly different. Firefox based browsers do it even more different. Look at Browser Tamer implementation, it autodetects profiles for most browsers: https://www.aloneguid.uk/projects/bt/

tdalon commented 1 year ago

This is the feature I strongly miss in BrowserPicker. The workaround to manually add a browser with command argument for the profile we want to use is not very user friendly. Have a look at BrowserSelect how it can be implemented.

I don't think users have that many different profiles and if so they certainly rather want to be able to select them. I would most use BrowserPicker with different profiles for the url<->browser (profiles) mapping configuration i.e. wouldn't need to have the profiles displayed when opening with the UI but it wouldn't bother me though to have all the profiles displayed when opening.