BrowserSelect icon indicating copy to clipboard operation
BrowserSelect copied to clipboard

feat: support Firfox profiles

Open perqin opened this issue 5 years ago • 3 comments

See here for official documentation on Firefox profiles management.

perqin avatar Nov 11 '20 15:11 perqin

Running a few more tests it seems firefox now correctly handles -p profile link. Interesting, It didn't do that before. We need to do some tests to detect which version has introduced this change and either auto-detect it or provide an option in case someone is still using a pre-Quantum firefox version.

The weird behavior of opening a new window without a link seems to have something to do with how Program.Args2Str escapes the arguments: image

That still doesn't explain the missing profile names though. But since there is now support in firefox for this I will merge it as soon as the issues are resolved.

zumoshi avatar Nov 11 '20 22:11 zumoshi

I'll try resolving these issue later. It seems that there are some problems on Firefox handling link in specified profile.

perqin avatar Nov 12 '20 09:11 perqin

This seems to work consistently for me: firefox.exe -P default -new-tab "http://www.example.com" See: https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options#-new-tab_url

This option seems to have been around for a while now (seems to have worked back in Jan 2020) for this user; https://stackoverflow.com/a/59889290

Adding the new-tab parameter may ensure better (backward) support??

lucasnz avatar Feb 16 '21 04:02 lucasnz