r/FirefoxCSS • • Oct 29 '26

Solved Address bar repeats search below

Post image

I'm using Firefox 153.6.0esr on Windows 10.

I'm trying to find a way of stopping my search in the Address Bar repeating, unnecessarily, on the line below. I like the suggestions but don't see any point in the repeat of my search.

Does anyone have any ideas? Thanks!

7 Upvotes

7 comments sorted by

2

u/Magrat-Garlick Oct 29 '26

u/TraditionalTie4831 replied to your post:
.urlbarView-row[has-action] { display: none !important; }

This appeared in my InBox but not here!
Sorry, this just removes all the suggestions. As I said, I want the suggestions, just not the repeating line of what I'm typing!

1

u/TraditionalTie4831 🦊 Oct 29 '26 edited Oct 29 '26

Hmm, the code only removes the "repeated row" for me on FF v158 and v159,

What about this? =

.urlbarView-row[has-action]:first-of-type { display: none !important; }

2

u/t31os Oct 29 '26

Why not remove based on type?

.urlbarView-row[type=search] { display: none !important; }

2

u/TraditionalTie4831 🦊 Oct 29 '26 edited Oct 29 '26

Hmm... that works now in v159. I don't remember what, but more was needed in v157.

u/Magrat-Garlick You should use t31os suggestion.

3

u/t31os Oct 29 '26

It could swallow up the search suggestions as there can be more than one row item with the search type, it could be narrowed to check it's the first child:

.urlbarView-row[type=search]:is(:first-child) { display: none !important; }

That way you still get search suggestions, minus the "searchterm - Search with searchengine" row.

3

u/Magrat-Garlick Oct 29 '26

Spot on! Just what I wanted. Thanks!

3

u/j--__ Oct 29 '26

tell me you don't use the up and down arrow keys without telling me you don't use them.

that line absolutely serves a purpose.