Fx 2.0: Removing The Search ‘Go’ Button

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!

5 Comments on Fx 2.0: Removing The Search ‘Go’ Button

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

  2. Thanks for this tip.

  3. sindocumento | November 28, 2007 at 9:11 AM |

    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.

  4. @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.

  5. 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!

2 Trackbacks & Pingbacks

  1. Firefox Extension Guru’s Blog Firefox 2.0 Tweaks Revisited «
  2. Fx 2.0 Tweaks Guide | Firefox Extension Guru's Blog

Comments are closed.