-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REQUEST] Opening links to another website puts container to default #1775
Comments
Totally agree. After finishing on a site and logging out, I am disappointed to see that the selected container stays active even if I click a bookmark, enter a URL into the address bar or perform a search. It can be a few minutes later before I realise that I've let other sites operate within a container that (for example) I've reserved for banking. |
Yeah exactly, I have containers for banking as well. Well, hopefully they add something like this. Would be very useful and MUCH more secure. |
A solution for this is to use Temporary Containers addOn and enable Automatic Mode on Navigation, it will intercept requests to non-assigned sites and open them in a temporary container. Works for me. |
You can opt to open particular websites always in a particular container. Personally I very much prefer the current behavior to open links in the current container, because - a few exceptions aside - I only use containers to separate broad categories or to manage mutliple different accounts at a single website and more often than not, the links I follow from one site lead me to something that should be bundled to the same topic. I guess it very much depends on how you are using containers, so it probably should be configurable. |
+1 for configurability. I'm now trying the "Temporary Containers" add-on suggested earlier, though it's unnecessarily complicated for the simple use case we're describing here. What I'm looking for is an option to "use the default container when a link in a custom container navigates outside of its container domain(s)". That particular behaviour isn't available in TC as it keeps creating new containers for such links. Essentially, the issue that TC is addressing is not exactly the one described in this ticket, but TC can be forced to give some semblance of protection against unexpected ingression of foreign domains into the current container if you are willing to forego the notion of a "default" catch-all container for such links. |
@MikeGitb Well that's why I suggested a button, kinda like how they have one for "Always open in" feature. Maybe a button below it, just so it doesn't completely change how this great tool works. |
Good day. @rotan-hanrahan, There are other options I have not tried (below). Temporary Containers is kinda the deluxe version of isolating stuff, it makes sure every website not assigned to a specific container ends-up all alone in own container. The UI for configuration is too complex for its own good, but all you need is "Automatic Mode" and "Isolation on Navigation." You can even use %domain% in the container name so all the temporary containers have the name of the website. However, there exists more options. For sending non-related domains to the default container you can look at:
Hope this helps. |
Thanks @B00ze64 for the references. I'm currently using TC with varying degrees of success but not to the level of a simple "catch-all container" mechanism that I had hoped for. An interesting problem I encountered with TC was related to the fact that my search provider needed to redirect to a third-party organisation for me to authenticate, and upon success be redirected back. This forced me to create a dedicated container for the search provider and the org. But now when I use search and get a link to a site, clicking that link causes the search page to be replaced by the linked page (in a fresh container), with no "back button". I now middle click to make a new tab instead so I don't lose the search results. So while the TC add-on is providing some of the secure containment I prefer, there are various "niggles" that are making the UX unpleasant. The COL add-on appears to have a lingering tab bug, and EC is insufficiently tested in the wild. By far the best option would be for the core MAC feature to have the option to "open link in default container unless MAC has been configured to open it in a specific container". @MikeGitb has alluded to this already. Personally I worry about the consequences of endlessly nested add-ons (i.e. add-ons to augment the functionality of other add-ons), and foresee a dependency hell if we're not careful. |
I would be interested in exclusive containers available as a preference as well. The above referenced add-on seems to have the close to the behavior I'm looking for, but I agree with @rotan-hanrahan that it would be best to have such a small extension built-in to this one instead. There are also two small bugs with it: the newly opened tab briefly shows the calling container before switching to the new one, and it breaks the behavior of the context item "Open Link in New {Current Container} Tab" (presumably because it works by overloading this function, which is a bit of a hack that could be avoided by having it officially included).
The behavior I'm looking for is just change the behavior of {middle,cmd,shift}-click on links. When a page opens a new window on its own like this, I'd prefer to keep the existing behavior. |
Hi @rotan-hanrahan,
Strange, I have also created a Search Container for Google and al, and when I click on a result, TC opens a new [temporary or permanent] container for me but the original TAB stays there, it does not go away. Since I am VERY used to right-clicking and selecting "Open in a new Tab" this behaviour is very pleasing to me, I no longer have to right-click! Even more so because enabling Containers in general replaces the "Open in new Tab" with "Open in new XX Container Tab" which is pretty much never what I want. There's no BACK of course but it's 1 TAB away to the left lol. If your original Search TAB disappears, something is not quite right. You could open an issue on the TC Github, the guy is quite helpful. @ALL, Yeah, MAC should have the option of navigating out of the current container when the domain is not one that is assigned to a container, it is a bit strange that it opens always in the same container. But I suspect this would have to be a setting, because by now lots of people must be depending on that behaviour. If you check here they explain that it was impossible for them to please everyone, which is why we ended-up with addOns helping addOns helping addOns Lol (and TONS of buggy interactions). Regards, |
For anyone following this thread, check out the "transition rules" introduced by this fork of MAC: https://addons.mozilla.org/en-US/firefox/addon/containers-with-transitions/ Quoting the "About" section:
Note that this is a fork, and will not co-reside with the original MAC, and I don't see a way to port a MAC configuration to CWT, so I'm not inclined to try it out (just yet). Would be interested to hear some pro/cons from anyone familiar with it. |
@maxxcrawford Yeah, looks like those two might do it, especially container lock #1474. I still do not see in #1654 a way to edit the assigned sites, as-in a text-field where we can copy/paste/edit the site list. It's just impossible to manage a large list of contained sites the way it is right now (and we cannot export the data to another profile either). |
The above suggestion by @AdamJel has been working great for me so far. Only caveat I've noticed is that I occasionally have to turn it off for sites that do a lot of redirects, which sometimes happen too quickly to add via the "Automatically open this site in..." button. It would be nice if there were a way to edit the site list manually. |
Alternatively, it would be nice to be able to specify a wildcard for a domain, e.g. |
Relevant issue: #1830. |
When I use containers sometimes I use a specific one for only one website (i.e. Microsoft, Youtube, Github, etc.) but when I open up links it still opens up into the same container when the website is different. I would love to see maybe a button that could make it if any website is open that isn't the specific website, it would open into a default container.
The text was updated successfully, but these errors were encountered: