본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

find bar displayl color

  • 2 답장
  • 1 이 문제를 만남
  • 3 보기
  • 최종 답변자: bernie4

more options

When searching for a word on an already loaded page I use find (cntrl f). The word if found is highlighted in a different color. In the default case its a light green. Can I change the color to red bold or at the least the background color in the highlighted word to black or red. Anything that has a much higher contrast. There doesn't seem to be a config option to do this but it may not be under the "findbar" family.

When searching for a word on an already loaded page I use find (cntrl f). The word if found is highlighted in a different color. In the default case its a light green. Can I change the color to red bold or at the least the background color in the highlighted word to black or red. Anything that has a much higher contrast. There doesn't seem to be a config option to do this but it may not be under the "findbar" family.

모든 댓글 (2)

more options

You can change his background color via a String pref on the about:config page, but Firefox does a check for sufficient contrast and may swap text and background color.

See SELECTION_ and EnsureDifferentColors

Possible String prefs you can try out:

  • ui.textBackground
  • ui.textForeground
  • ui.textSelectBackground
  • ui.textSelectForeground
  • ui.textSelectForegroundCustom
  • ui.textSelectBackgroundDisabled
  • ui.textSelectBackgroundAttention (background for FAYT)
  • ui.textHighlightBackground
  • ui.textHighlightForeground

(you need to create a new String pref with this name)

See also these search results:

more options

Thank you for your reply cor-el. Sorry I took so long to rely but I had a few things that needed doing so couldn't get back to the problem. I tried to use those strings but am not sure how to test them. They do not appear to change things but the small amount of research I did seems to suggest there is a contrast test on some color selection but the contrast test algorithm seems to take into account color deficiency disorders, which indicated not all combinations will pass that test. If I inadvertently selected the wrong color (because I don't know the algorithm) it wont be used. I vaguely remember red being a problem color so colors containing red may be a problem, but I came across a technician that could not distinguish between red & green yet he qualified and was able to work on mains wiring. Green being the earth (ground connection) and red in older equipment was active (in Australia 240V) so that is one of the most unbelievable act of stupidity I have ever come across. Bureaucrats allowed it because we were not allowed to discriminate because of disability.

I guess I need to look further and find a specific color number which works on another known string so I can be sure I am able to find the correct string for the findbar.

I need to dig further. At least you have given me decent pointers of where to start.