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!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

Firefox Multi-Account Containers | Container Name in URL Bar

  • 3 отговора
  • 0 имат този проблем
  • 1 изглед
  • Последен отговор от 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
Прикачени екранни снимки

Избрано решение

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.

Прочетете този отговор в контекста 👍 1

Всички отговори (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

Полезно?

more options

Избрано решение

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.

Полезно?

more options

This works great, thank you !

Полезно?

Задаване на въпрос

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