pyro2927 / AWS_SSO_Containers

Firefox extension to route AWS SSO logins into unique containers.
https://addons.mozilla.org/en-US/firefox/addon/aws-sso-containers/
72 stars 17 forks source link

Container name is shortened after latest update #29

Closed anebz closed 2 months ago

anebz commented 5 months ago

Hi, after the last update when I am in a container, I see the container name in the URL field is now much shorter. Before I don't remember if it showed the whole container name, but now I count only 14 characters. Many of my accounts have the same beginning so now I can't immediately see which account it is, it would be nice if this was configurable. thanks!

acahill commented 4 months ago

This is just to do with the container name displayed in the location bar, right? The container tabs dialog still seems to have the full name. I reverted to v1.8 and the display was the same, so it might be an issue/change with the Container Tabs addon instead. It looks like that might have changed in version 8.1.3: https://github.com/mozilla/multi-account-containers/releases/tag/8.1.3

senilio commented 2 months ago

I "fixed" it by doing the following:

  1. Go to about:config - set toolkit.legacyUserProfileCustomizations.stylesheets to true
  2. Go to about:support - get path under "Profile Folder"
  3. Create folder "$PROFILE/chrome"
  4. Create file "$PROFILE/chrome/userChrome.css" with content:
    #userContext-label {
    max-width: unset !important;
    }
  5. Restart Firefox

Tested with Firefox 130.0.1. The full container name is visible in the address bar again.

pyro2927 commented 2 months ago

@acahill's PR has been merged and pushed with 1.10

acahill commented 2 months ago

Sorry, I've confused things by linking this issue to #28. That PR does resolve the issue #26, but this issue is still open. That other change might help a bit because you can use it to make the tab name shorter, but the location bar name limit is still an issue.

Either way it's not really anything to do with this addon at all, since the limit is an issue with https://github.com/mozilla/multi-account-containers. But since @senilio has a handy workaround it could be documented in the README

senilio commented 2 months ago

Some digging shows the breaking change is in Firefox itself, so it's not an issue in multi-account-containers either. This led me to this which shows that the real issue is this line, added in Firefox 127.0 😄

acahill commented 2 months ago

Hey, nice find! Anyway IMO there's no need to reopen this, the workaround seems pretty good.