Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

Firefox Multi-Account Containers | Container Name in URL Bar

  • 3 odgovora
  • 0 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od Itai

more options

Firefox 126.0.1 displays a very long name of a container completely in the URL bar.

Firefox 127.0 truncates container names

AWS long account and role names make keeping the long name very convenient (works with the 'AWS SSO Containers' Add-On

Firefox 126.0.1 displays a very long name of a container completely in the URL bar. Firefox 127.0 truncates container names AWS long account and role names make keeping the long name very convenient (works with the 'AWS SSO Containers' Add-On
Priložene slike ekrana

Izabrano rješenje

Thank you for the Github link. It sounds as though this was intentional to ensure that the URL wasn't obscured.

The restriction is in a built-in style sheet, any characters beyond 8em in width are trimmed:

https://searchfox.org/mozilla-release/source/browser/components/contextualidentity/content/usercontext.css#111

If this is a big problem, you could consider delving into the unsupported realm of userChrome.css rules to override built-in rules. In this case, you could use:

#userContext-label {
    max-width: unset !important;
}

The effect is visible in the attached screenshot (which obviously shows a lot of other modifications). If you are new to userChrome.css and want to learn more, I have a site here:

https://www.userchrome.org/

Note: The How To videos are missing the last step about the about:config change.

Pročitaj ovaj odgovor u kontekstu 👍 1

Svi odgovori (3)

more options

Itai said

Firefox 126.0.1 displays a very long name of a container completely in the URL bar. Firefox 127.0 truncates container names AWS long account and role names make keeping the long name very convenient (works with the 'AWS SSO Containers' Add-On

More information here https://github.com/mozilla/multi-account-containers/issues/2641

Korisno?

more options

Odabrano rješenje

Thank you for the Github link. It sounds as though this was intentional to ensure that the URL wasn't obscured.

The restriction is in a built-in style sheet, any characters beyond 8em in width are trimmed:

https://searchfox.org/mozilla-release/source/browser/components/contextualidentity/content/usercontext.css#111

If this is a big problem, you could consider delving into the unsupported realm of userChrome.css rules to override built-in rules. In this case, you could use:

#userContext-label {
    max-width: unset !important;
}

The effect is visible in the attached screenshot (which obviously shows a lot of other modifications). If you are new to userChrome.css and want to learn more, I have a site here:

https://www.userchrome.org/

Note: The How To videos are missing the last step about the about:config change.

Korisno?

more options

This works great, thank you !

Korisno?

Postavi pitanje

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.