Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Change colour of search markers in firefox scroll bar
The markings for search results in the firefox scrollbar are pink by default (requires "Highlight All" to be selected):
Is there any code I can plug into a userChrome.css
file or similar to change this colour?
1 answer
The following users marked this post as Works for me:
User | Comment | Date |
---|---|---|
samcarter | (no comment) | Jan 14, 2022 at 14:41 |
-
Enter
about:config
in the address bar. -
Search for
ui.textHighlightBackground
and change its color value — you can use the #RRGGBB format or generic names such as "green".
Note this also changes the highlight color of the matched text and that Firefox applies a default transparency value to the marks, so that a pure #FF0000
red becomes fainter. There does not seem to be a way to disable that transparency filter.
References and attribution: Bug report 1 and bug report 2.
0 comment threads