Search bar

User Help for Mozilla Firefox
Post Reply
Odin2
Posts: 801
Joined: March 10th, 2012, 8:08 pm

Search bar

Post by Odin2 »

Is there any way to remove the default word "Search" from the search bar (so that's it's blank when it does not reflect any particular searches)?
User avatar
WaltS48
Posts: 5141
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Re: Search bar

Post by WaltS48 »

Odin2 wrote:Is there any way to remove the default word "Search" from the search bar (so that's it's blank when it does not reflect any particular searches)?
How would anyone know what it is for?

I removed the search bar long ago.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Search bar

Post by dickvl »

You can use code in userChrome.css to hide the placeholder text.

https://www.userchrome.org/what-is-userchrome-css.html
https://www.userchrome.org/how-create-u ... e-css.html
https://www.userchrome.org/firefox-chan ... e-css.html

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

/* hide placeholder */
#urlbar *|input::placeholder {opacity:0 !important}
#searchbar *|input::placeholder {opacity:0 !important}
Odin2
Posts: 801
Joined: March 10th, 2012, 8:08 pm

Re: Search bar

Post by Odin2 »

Many thanks, dickvl. Works like a charm.

WaltS48, no offense, but I can't believe "How would anyone know what it is for?" is a serious question. Did you never notice the search icon preceding the text?
Post Reply