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 Can The Highlighted Text Color in Quick Find be Easily Changed?

  • 5 תגובות
  • 1 has this problem
  • 3 views
  • תגובה אחרונה מאת cor-el

more options

How Can The Highlighted Text Color in Quick Find be Easily Changed to a color I like? The default green isn't always quickly discernible. Thank you.

How Can The Highlighted Text Color in Quick Find be Easily Changed to a color I like? The default green isn't always quickly discernible. Thank you.

כל התגובות (5)

more options

The following steps should do the trick:

  1. type "about:config" into your address bar (without quotes) and hit enter
  2. read & accept the warning
  3. copy/paste: "ui.textSelectBackgroundAttention" (without quotes) into the search bar
  4. change the radio selection from "Boolean" to "String" and then click the "Plus sign" button on the right hand side
  5. enter your desired color (as a hex code including the '#')
  6. click the check mark button to save
  7. restart Firefox

השתנתה ב־ על־ידי d.mattera

more options

Thank you. Is there a separate, additional transparency setting for the search highlight color? Black text is now obscured by the color I selected.

more options

I don't believe there is any way to adjust the transparency/opacity of highlighted colors.

Your only real alternative would be to change the color of the highlighted text. The only issue is that, unlike with "ui.textSelectBackgroundAttention", search-highlighted text uses the same color setting as manually highlighted text ("ui.textSelectForeground") instead of having it's own separate setting. You can change "ui.textSelectForeground" using the same method as above but it will affect any text that's highlighted, whether from searching or manually with the cursor.

השתנתה ב־ על־ידי d.mattera

more options

I haven't tried this but, I thought that you might be interested:

What is the HEX code for Transparent color? https://stackoverflow.com/questions/1801580/what-is-the-hex-code-for-transparent-color

more options

Note that Firefox may change colors or swap foreground and background colors to "EnsureSufficientContrast".

See also the source code line #3789 and further down: