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

How do I hide everything except text in tabs?

  • 5 回覆
  • 2 有這個問題
  • 14 次檢視
  • 最近回覆由 mdlark1966

more options

Hello -

I have searched this topic and found several possible answers, but none of them seem to fully address my problem. In FF 16, how do I remove everything except text from my tabs? I don't want the activity indicator, the website icon, or even the little empty box/placeholder - just the title/text.

Thanks in advance!

Michael

Hello - I have searched this topic and found several possible answers, but none of them seem to fully address my problem. In FF 16, how do I remove everything except text from my tabs? I don't want the activity indicator, the website icon, or even the little empty box/placeholder - just the title/text. Thanks in advance! Michael

被選擇的解決方法

What have you tried so far?

Various elements of the UI can be hidden using style rules, either in userChrome.css or with the Stylish extension.

Taking a very quick look, and not having actually tested this, you might want to hide these things:

/* Load progress indicator */
.tab-throbber{display:none !important;}
/* Site favicon */
.tab-icon-image{display:none !important;}
/* "X" button to close tab */
.tab-close-button{display:none !important;}
從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options

選擇的解決方法

What have you tried so far?

Various elements of the UI can be hidden using style rules, either in userChrome.css or with the Stylish extension.

Taking a very quick look, and not having actually tested this, you might want to hide these things:

/* Load progress indicator */
.tab-throbber{display:none !important;}
/* Site favicon */
.tab-icon-image{display:none !important;}
/* "X" button to close tab */
.tab-close-button{display:none !important;}
more options

OK, this is really odd - I can't find the userchrome.css file anywhere. I looked in the FF AppData folder, I looked in the programs folder, I did a search of my entire C drive, and nothing. Has there been a change in FF 16 for XP? Where should that file be?

Oh, hang on - I need to create it, don't I? It's been a while since I've had to start over with a fresh version of FF....

由 mdlark1966 於 修改

more options

Yup, the first two did the trick! Thanks for refreshing my memory!

more options

Note that you can hide the tab close button with the browser.tabs.closeButtons pref set to 2

You may want to consider to use the :not([pinned]) selector to have at least the icon on pinned tabs

.tab-icon-image:not([pinned]),
.tab-throbber:not([pinned]) {
 display:none!important;
}
more options

Cool! Thanks!