Fx 2.0: Removing The Search ‘Go’ Button

Posted: Friday, October 27, 2006 by El Guru in Firefox, Fx 2.0, Tips & Tweaks

Firefox 3 Users: Fx 3.0: Removing The Search ‘Go’ Button

Cookiemonster asked in the Removing ‘Go’ Button post how to remove the search button (magnifying glass) from the search bar. I didn’t understand that question as I didn’t have a magnifying glass. Then tonight a member on Go Firefox! asked me the same question. What I didn’t realize was the tip I posted for removing the ‘Go’ Button was the about:config tweak. However, the way I removed the ‘Go’ Button was via an entry in my userChrome.css file. While I was looking more into this matter I got an e-mail notification of a new comment. The comment from activetrash, just happen to be an answer to this very question. Turns out this can be done by adding a new entry into the userChrome.css file.

The userChrome.css file is located in the Chrome folder in your profile folder and can be edited with notepad. I would though recommend getting the ChromEdit Plus extension as this makes this process so much easier.


    To remove the search button (magnifying glass) add this line:
    .search-go-button-stack { display: none !important; }

    To remove the ‘Go’ Button on the navigation bar add this line:
    #go-button-stack { display: none !important; }


    If you also want to remove the search engine drop-down button as this line:
    .searchbar-engine-button { display: none !important }

After you have made the change and saved your userChrome.css file, you will need to restart Firefox for the changes to take effect. Thanks again to activetrash for these great tips!


Comments
  1. nogg3r5 says:

    this is my favourite fx2.0 hack. the go button is utterly useless! Surely everyone is acquainted with the enter key by now?

  2. Shii says:

    Thanks for this tip.

  3. […] How to Remove The Search ‘Go’ Button – Removes the Magnifying Glass from the search box […]

  4. sindocumento says:

    Hi!
    First, thanks for share the information.
    Second, I need to go a little further.
    It is possible to remove the entire search bar from userchrome?
    Hope u can help me.

  5. The Guru says:

    @sindocumento you should be able to remove the search bar by right-clicking on the toolbar and select ‘customize…” at this point you can drag the search bar off the toolbar. Off hand I don’t know of a way to do it via userChrome.

  6. Charlie says:

    Anyone know how to change the Google default search engine location?

    My corporate network has our internet gateway in another country where I don’t speak the language and so all my search results come in the wrong language because Google is so damn clever! HELP!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s