We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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!