为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How can I make the unloaded tabs look different from the loaded ones?

more options

I used Tab Mix Plus in the pre-57 days so that the unloaded tabs were in italic with a different color, but Tab Mix Plus doesn't work with Quantum.

How can I get this function back? I looked, but I haven't found an add-on that did what I wanted.

Have a nice day!

I used Tab Mix Plus in the pre-57 days so that the unloaded tabs were in italic with a different color, but Tab Mix Plus doesn't work with Quantum. How can I get this function back? I looked, but I haven't found an add-on that did what I wanted. Have a nice day!

所有回复 (2)

more options

I don't think an add-on can access all of the properties of the tabs. Otherwise, it could be added as a feature of the ColorfulTabs extension or similar add-ons.

However, I do think a custom style rule could do it. Many aspects of Firefox's interface can be modified by creating a userChrome.css file with custom style rules.

I have a website about userChrome.css here: https://www.userchrome.org/ -- take your time if you're new to this so you do it right the first time

The unloaded tabs -- tabs restored from a previous session that have not yet been activated in the current session -- have a special attribute set:

pending="true"

You can attach a style rule to a tab with that attribute using this selector:

.tabbrowser-tab[pending="true"]

But what should the rule be -- what appearance are you looking for?

A great forum to getting detailed assistance with custom style rules is: https://www.reddit.com/r/FirefoxCSS/. Over there, someone posted a rule for "dimming" the unloaded tabs by making them 50% transparent:

https://www.reddit.com/r/FirefoxCSS/comments/6yvxh2/request_for_tab_manipulation_multirow_tab_bar_tab/dmqqayb/

Not sure if that's what you want or something else.

more options

It worked! thanks!