I use container tabs in firefox. I often want to sign in to an account in a specific container. When using the "Go" function in 1Password X, it always opens its own tab, with no container designation, even if I was already in an about:newtab or about:blank tab in the container I wanted to use.
My preferred behavior would be to check the current tab's address, and if it's about:blank or about:newtab (or the chrome flavor of the same), use the current tab instead of opening a new one.
Alternatively, just offer a toggle in settings for "'Go' button opens new tab" (disabled= use current tab regardless of location).
1Password Version: N/A
Extension Version: 1.10.3
OS Version: ArchLinux, Firefox 62.0
Sync Type: 1Password
Hi, @akano! Thanks for your request. The multi-account containers add-on is a pretty sweet solution to an important problem. Right now, though, it's a little hacky to try to reason about the user's intentions in this environment as there's no API currently for specifying the
cookieStoreIdwhen creating a new tab. (It looks like this feature will be in Firefox 64, which is quite a ways from stable release…) I actually looked into this late last year before determining that it was simply too new and unstable to move forward with. I think Mozilla is moving things forward, but I think it will still be some time before we are able to fully embrace it.
I hope this helps! Let us know if we can be of further assistance.
Code Wrangler @ 1Password
Fort Worth, Texas
I'd like this feature too. Wouldn't akano's suggestion workaround the lack of a stable API for this?
Yeah, I can't come up with a good way to integrate context tabs into 1p, and won't try to ask you to do that for a probably niche feature.
I think you could make tab contexts a lot easier to use without having to actually deal with tab contexts, by implementing either the about:(blank|newtab) check or the "use current tab" toggle.
I like the idea of reusing the current tab if it's
about:newtab. We should be able to do that.
I just double-checked that Firefox allows us to update the URL on
about:newtaband happy to report I was able to implement that change. Pending any unforeseen issues in review, you should see it in our next beta! 😀
Have a great week! 💙
This should be working now in both release and beta channels. 🎉 Thanks again for the request! 🙌
I noticed this working a while ago, and it's much appreciated!
Unfortunately it seems to not be working now in 1.14 or 1.14.3 on FF 66.0.3 (Arch and Win10).
$ rm -rf ~/.mozilla ; firefox
privacy.userContext.enabled = true
privacy.userContext.longPressBehavior = 1
Install 1Password X from AMO, sign in
Open new container tab, hit 1pX button, click "GO" next to an entry
Expected: site opens in current context tab.
Observed: Current tab is closed, new contextless tab is opened with site.
Hey @akano! Thanks for bringing this to our attention. I passed the report along to our developers, and I'll update here once I have news.
Thanks. Just to bump/update: Still appears to be a regression in 1.18.0
Thanks for the bump, @akano. I'll let my team know that you checked in, but I don't have anything new to share at the moment.