What does HackerNews think of open-url-in-container?

Firefox extension to open external links in a specific container

Language: JavaScript

Looks like there's an extension which adds a new protocol handler, which allows firing the container you like for a given link from the command line.

It's available at https://github.com/honsiorovskyi/open-url-in-container and Mozilla Extension store, so you can directly install it.

I think you can register a new "application" to open links, not set at default, and use Right Click -> Open With -> Firefox (WORK CONTAINER).

Will that work?

the opposite is true, too, since "Clear History" in Chrome Profiles behaves correctly and (AFAIK) is scoped just to that Profile unlike our container friend: https://github.com/mozilla/multi-account-containers/issues/3...

I still use them because combined with https://addons.mozilla.org/en-US/firefox/addon/open-url-in-c... ( https://github.com/honsiorovskyi/open-url-in-container ) is a game changer for my workflow but it does make me sad that issue has been open for so long

I do the same.

Pro tip time!

You can use this ext and accompanying cli tool to launch URLs in a container.

https://github.com/honsiorovskyi/open-url-in-container

Couple that with aws-vault login link generator.

Then pipe thru fzf.

Now you have a quick script to open an aws profile in a new container. Containers don’t even need to exist and can be created on the fly.

I just craft the name like “aws-$profile”.