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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

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 !

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題