Open Bug 1726634 Opened 4 years ago Updated 19 days ago

Launch container tab via command line

Categories

(Firefox :: Tabbed Browser, enhancement)

Firefox 90
enhancement

Tracking

()

People

(Reporter: ben, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

firefox -new-tab https://example.com --container "Personal"

Actual results:

Open a new tab to example.com

Expected results:

Open a new "Personal" container tab to example.com

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Hi Ben Thayer,

Thank you for your suggestion.

This could be a good enhancement, hopefully it will be taken into consideration in the future.
I'll mark this as New for visibility.

Regards,

Estanislao

Status: UNCONFIRMED → NEW
Ever confirmed: true

+1. I'm creating a cross-platform browser+profile selector app for external links and would love to support firefox containers.

+1. Just wanted to chime in that this feature would be very helpful for me.

+1 From me. I'd love to see this. I use container tabs pretty heavily and can see this making interesting integrations with other applications more possible.

See here for an example use case:
https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7919#note_1545178

I'd highly appreciate this feature to allow the usage of different containers directly via KeePass URLs to isolate different clients from each other. Currently, I use profiles to achieve a similar functionality:
cmd://{FIREFOX} -url -new-instance -P {GROUP} "https://john.doe.com"
{GROUP} being replaced by the customer name. That way each customer gets it's own environment when I e.g. access their intranet etc.

But unfortunately, profiles are not that user friendly:

  • Not possible to switch between profiles without opening a new window via about:profiles
  • It's not visible which profile(s) you are currently using
    ...

See bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1542189

Here is my use case. I'm using a container for bugzilla, GitHub, Tree Hearder, Phabricator, etc related to contributing Firefox. Then, when I do ./mach try, it may launch the login form to Lando especially when the first run in every morning. However, it's opened without container so that I need to copy the URL and open new tab for the container and paste the URL everyday. On the other hand, the container name may contain any characters except control characters so that each container may need ID for the command line.

(Sometimes, the login form is opened in current container, but I'm not sure why that happens. Regressions?)

You need to log in before you can comment on or make changes to this bug.