Firefox 2.0: Close Tab Buttons

One of the new & improved features in starting with Firefox 2 is having the ‘Close Tab’ button on each tab. However, there are folks who don’t like change and would rather have the close tab button at the end of the tab bar as it is in Firefox 1.x builds. Sure there are extensions that will do this for you, but why bother downloading an extension when all it does is make a change to a setting in about:config? A simple about:config tweak will change the way the ‘close tab’ button is displayed:

  • Click the about:config button (if about:config extension is installed) or open a new tab and type about:config in the address bar and press enter
  • In the filter field type browser.tabs.closeButtons
  • Double-click on the entry and enter the corresponding number below:
      0 – Display a close button on the active tab only
      1
      – Display a close button on each tab (default)
      2
      – Don’t display any close buttons
      3
      – Display a single close button at the end of the tab bar (Firefox 1.x behavior)
  • Click OK
  • Close the about:config editor or tab

In case y’all are wonder, I have mine set to ‘0’, that way I won’t accidentally close the wrong tab and another quick way to see which tab is the active tab.

Note: If you are using Tab Mix Plus extension, this tweak will not work.