Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Avatar for Username

ძიება მხარდაჭერაში

ნუ გაებმებით თაღლითების მახეში. აქ არავინ უნდა მოგთხოვოთ ტელეფონზე დარეკვა, შეტყობინების გაგზავნა ან პირადი მონაცემების გაზიარება. რამე საეჭვოს შემჩნევისას გთხოვთ გვაცნობოთ „დარღვევის მოხსენებით“.

ვრცლად

change the color of a message using userChrome

  • 5 პასუხი
  • 0 მომხმარებელი წააწყდა მსგავს სიძნელეს
  • 86 ნახვა
  • ბოლოს გამოეხმაურა GrennyDar

I’m running Thunderbird 147.0.1 (64-bit) on both my desktop and laptop, both using Windows 11 Version 25H2 (Build 26200.7705). I’m trying to highlight sent (outgoing) messages where the correspondent and recipient are different (i.e., not sending to myself). When this condition is met, I want the subject line to appear green. My logic is: • Match outgoing mail where the correspondent column contains one of my addresses • Exclude rows where the recipient column also contains one of my addresses • Apply formatting only to the subject column tr:has(

   td.correspondentcol-column[title*="@pm.me"],
   td.correspondentcol-column[title*="@protonmail.com"],
   td.correspondentcol-column[title*="@passinbox.com"]

):not(

   :has(td.recipientcol-column[title*="@pm.me"]),
   :has(td.recipientcol-column[title*="@protonmail.com"]),
   :has(td.recipientcol-column[title*="@passinbox.com"])

) td.subjectcol-column {

 color: var(--tb-green) !important;
 font-weight: 600 !important;
 background-color: #e8f5e9 !important;

} Same Thunderbird version, same Windows build, same CSS file, same mail account structure. Is there something on the desktop system that could prevent this from working? For example: • about:config setting related to CSS • Layout or column differences affecting selectors • Rendering engine differences between installations • UI density / table layout mode differences My expectation is that this logic should behave identically on both systems, so I suspect a configuration or UI state difference. Any guidance would be appreciated.

I’m running Thunderbird 147.0.1 (64-bit) on both my desktop and laptop, both using Windows 11 Version 25H2 (Build 26200.7705). I’m trying to highlight sent (outgoing) messages where the correspondent and recipient are different (i.e., not sending to myself). When this condition is met, I want the subject line to appear green. My logic is: • Match outgoing mail where the correspondent column contains one of my addresses • Exclude rows where the recipient column also contains one of my addresses • Apply formatting only to the subject column tr:has( td.correspondentcol-column[title*="@pm.me"], td.correspondentcol-column[title*="@protonmail.com"], td.correspondentcol-column[title*="@passinbox.com"] ):not( :has(td.recipientcol-column[title*="@pm.me"]), :has(td.recipientcol-column[title*="@protonmail.com"]), :has(td.recipientcol-column[title*="@passinbox.com"]) ) td.subjectcol-column { color: var(--tb-green) !important; font-weight: 600 !important; background-color: #e8f5e9 !important; } Same Thunderbird version, same Windows build, same CSS file, same mail account structure. Is there something on the desktop system that could prevent this from working? For example: • about:config setting related to CSS • Layout or column differences affecting selectors • Rendering engine differences between installations • UI density / table layout mode differences My expectation is that this logic should behave identically on both systems, so I suspect a configuration or UI state difference. Any guidance would be appreciated.

ყველა პასუხი (5)

it is working very well on the laptop

In Thunderbird on the Desktop PC did you toggle the advanced preference toolkit.legacyUserProfileCustomizations.stylesheets from false to true in Settings > General > Config Editor...?

Yes, the other code in the userChrome.css works

toolkit.legacyUserProfileCustomizations.stylesheets = true

ჩასწორების თარიღი: , ავტორი: GrennyDar

On your desktop PC do test with a userChrome.css file containing only the CSS code you show in your first message. Does your userChrome.css file begin with a text line the following?

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

If yes, delete it for a test or replace it with the following line

@namespace html url("http://www.w3.org/1999/xhtml");

I Thank you for your answer, As I am travelling from today I will test when I return.

დასვით კითხვა

უნდა შეხვიდეთ ანგარიშზე პასუხის დასაწერად. გთხოვთ, დასვათ ახალი შეკითხვა, თუ ჯერ არ გაქვთ ანგარიში.