Ask me anything!

Have a question you always wanted to ask Moonchild but never did? Now's your chance!
From 2026-03-08 to 2026-03-15 I'll be open to any question by the community, after which I'll provide answers.

Go here to participate: https://forum.palemoon.org/viewtopic.php?f=66&t=33222

Suggestion box: change color?

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Suggestion box: change color?

Post by ron_1 » 2026-03-03, 12:16

Operating system: Devuan GNU/Linux 6 (Excalibur)
Browser version: 34.0.1 SSE2 GTK2
32-bit or 64-bit browser?: 64-bit

First, I did a search on the forums and came up empty. Is there an about:config setting to change either the color of the text or the background of the suggestion box that appears when typing in the search box? (I looked through it and didn't see anything, but I'm not an expert so it may have slipped by me.) If not, is there a css trick to accomplish this?

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 480
Joined: 2025-02-03, 07:55

Re: Suggestion box: change color?

Post by Gemmaugr » 2026-03-03, 14:53

Not an expert either, but a quick Brave search led me to this: https://support.mozilla.org/en-US/questions/999828

Not sure how valid it is now though.

User avatar
jars_
Lunatic
Lunatic
Posts: 430
Joined: 2016-12-27, 00:12

Re: Suggestion box: change color?

Post by jars_ » 2026-03-03, 16:14

about:config type ui.text
there is my settings:

Code: Select all

ui.textSelectBackgroundAttention;#8A2BE2
ui.textHighlightForeground;#008000
ui.textSelectBackgroundAttention;#8A2BE2

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-04, 09:38

Gemmaugr wrote:
2026-03-03, 14:53
Not an expert either, but a quick Brave search led me to this: https://support.mozilla.org/en-US/questions/999828
That's the find bar (ctrl+F). I replaced "findbar" with "searchbar" but that didn't work. I also searched that Mozilla site and didn't find anything.
jars_ wrote:
2026-03-03, 16:14
about:config type ui.text
I don't have any of those strings.

To clarify, it's the color of the suggestion box that appears when you start typing in the search bar that I want to change. You can see why, I can only read it when hovering over one suggestion:
Untitled.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 480
Joined: 2025-02-03, 07:55

Re: Suggestion box: change color?

Post by Gemmaugr » 2026-03-04, 10:39

ron_1 wrote:
2026-03-04, 09:38
Gemmaugr wrote:
2026-03-03, 14:53
Not an expert either, but a quick Brave search led me to this: https://support.mozilla.org/en-US/questions/999828
That's the find bar (ctrl+F). I replaced "findbar" with "searchbar" but that didn't work. I also searched that Mozilla site and didn't find anything.
Ah, ok. And the more comprehensive solution given there;
If you need to examine elements of the user interface, install DOM Inspector and Element Inspector. You can then simply hold down Shift and right-click an UI element. N.B.: this shortcut is used to bring up the default context menu on sites that replace it or prevent it from showing; best to keep Element Inspector disabled when you're not using it.

https://addons.mozilla.org/firefox/addo ... ctor-6622/
https://addons.mozilla.org/firefox/addo ... inspector/
Changing to https://addons.palemoon.org/addon/dominspector/ & CTRL+Shift+C (Pale Moon Inspector) doesn't show anything relevant?

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-04, 11:36

I don't understand what any of that has to do with the drop-down suggestion box.

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-04, 12:10

Okay, I sort of figured it out (the DOM inspector add-on). But it doesn't seem to work in the suggestion box. (At least it's not giving me something I can use, that I can see.)
Last edited by ron_1 on 2026-03-04, 12:23, edited 1 time in total.

User avatar
Gemmaugr
Lunatic
Lunatic
Posts: 480
Joined: 2025-02-03, 07:55

Re: Suggestion box: change color?

Post by Gemmaugr » 2026-03-04, 12:22


User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-04, 12:26

I'm about to give up. This didn't work. And even if it did, I'm not sure it would fix the suggestion box as the focus of this is the url bar background.

Kris_88
Board Warrior
Board Warrior
Posts: 1171
Joined: 2021-01-26, 11:18

Re: Suggestion box: change color?

Post by Kris_88 » 2026-03-04, 20:15

These preferences work in Windows, but they affect not only the search bar but also the address bar.

user_pref("ui.-moz-field", "#00ff00");
user_pref("ui.-moz-fieldtext", "#ff0000");
user_pref("ui.highlight", "#ff0000");
user_pref("ui.highlighttext", "#00ff00");
Untitled.png
You do not have the required permissions to view the files attached to this post.

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-05, 09:25

Kris_88 wrote:
2026-03-04, 20:15
These preferences work in Windows,
I assume you had to manually create these strings in about:config? Because I don't see them.

Anyway I already "fixed" the issue by switching Pale Moon themes and then using light theme-maker to mimic (as best as I could) the OS theme.

Kris_88
Board Warrior
Board Warrior
Posts: 1171
Joined: 2021-01-26, 11:18

Re: Suggestion box: change color?

Post by Kris_88 » 2026-03-05, 09:44

ron_1 wrote:
2026-03-05, 09:25
I assume you had to manually create these strings in about:config? Because I don't see them.
It often happens that a parameter is missing and needs to be created. Many parameters are recognized by the browser but are not included in the settings database.
ron_1 wrote:
2026-03-05, 09:25
Anyway I already "fixed" the issue by switching Pale Moon themes and then using light theme-maker to mimic (as best as I could) the OS theme.
Yes, it often happens that a person asks for something, but in fact he doesn’t need it. :D

User avatar
ron_1
Knows the dark side
Knows the dark side
Posts: 3082
Joined: 2012-06-28, 01:20

Re: Suggestion box: change color?

Post by ron_1 » 2026-03-05, 11:18

Kris_88 wrote:
2026-03-05, 09:44
Yes, it often happens that a person asks for something, but in fact he doesn’t need it. :D
Well I still need it to be able to use Tangerinemoon or Tangomoon in tandem with my OS theme Blue-Submarine. That's why I put the word fixed in quotes.