Official way to remove the Go button in the new theme

User Help for Mozilla Firefox
Locked
pkasting
Posts: 123
Joined: June 29th, 2006, 2:17 pm
Location: Google, Inc.

Official way to remove the Go button in the new theme

Post by pkasting »

As of a few minutes ago, the branch has a (hackish, but sanctioned) solution to disable the Go button.

about:config -> browser.urlbar.hideGoButton [default false] can be set to true to immediately hide the Go button.

This means you don't need a userChrome.css hack or an extension. This also fixes the margin issues you might have seen when using existing known userChrome.css hacks.

This is NOT the Firefox 3 solution. We are working on a patch that will allow you to properly move/remove the Go button using the toolbar customization palette just like all other buttons. However, that patch isn't done yet, and we're out of time for Firefox 2. So this was done to give you as easy a method as we could implement in time.

Note that this is still subject to last-minute backout if we suddenly find a problem with it.

Mods, feel free to make this topic sticky if you think enough people are irritated at it.
User avatar
RAF
Moderator
Posts: 12609
Joined: November 5th, 2002, 2:19 pm
Location: .nl

Post by RAF »

Sticky.
User avatar
RAF
Moderator
Posts: 12609
Joined: November 5th, 2002, 2:19 pm
Location: .nl

Post by RAF »

To remove the Go and Search buttons via userChrome.css :

Code: Select all

#go-button-stack, .search-go-button-stack {
  display: none !important;
}
Locked