搜尋 Mozilla 技術支援網站

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

Learn More

Can I get below 50 tab width?

  • 3 回覆
  • 0 有這個問題
  • 8 次檢視
  • 最近回覆由 cor-el

more options

The minimum tab width build into Firefox is 50. I'm used to much lower from Chrome, and would like it to be lower. I have many tabs open at the same time, and being able to see them all is what I'm used to. Instead of having to scroll for long time, it's really annoying! I saw a post that there used to be an extension which let you do this, but it stopped working with an older version of Firefox. Any help is greatly appreciated. :) Have a great day!

The minimum tab width build into Firefox is 50. I'm used to much lower from Chrome, and would like it to be lower. I have many tabs open at the same time, and being able to see them all is what I'm used to. Instead of having to scroll for long time, it's really annoying! I saw a post that there used to be an extension which let you do this, but it stopped working with an older version of Firefox. Any help is greatly appreciated. :) Have a great day!

所有回覆 (3)

more options

I think you have the answer in your cross-post over here: https://www.reddit.com/r/firefox/comments/zda0ov/can_i_get_below_50_tab_width/

There is no built-in way to reduce the tab width below 50, but you can override that minimum width through the community-supported (unofficial) userChrome.css method. There are numerous aesthetic tweaks one might make to get a better fit on the tab, but I've lost track of the threads where I posted about that in the past.

more options

There is a preference in about:config browser.tabs.tabMinWidth

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

^: Yes, there is the browser.tabs.tabMinWidth preference, but you can't go below 50px

     XPCOMUtils.defineLazyPreferenceGetter(
       this,
       "_tabMinWidthPref",
       "browser.tabs.tabMinWidth",
       null,
       (pref, prevValue, newValue) => (this._tabMinWidth = newValue),
       newValue => {
         const LIMIT = 50;
         return Math.max(newValue, LIMIT);
       }
     );