How can I make the unloaded tabs look different from the loaded ones?
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)
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:
Not sure if that's what you want or something else.
It worked! thanks!