Firefox is displaying a close button on every open tab by default. The active tab is displaying that button in red colors while the rest is using gray to distinguish active and inactive tabs. The close button adds to the length of all tabs which might be a thorn in the eye of users who like to optimize Firefox menus to use as little screen estate as possible.
There is also the kind of user who likes to use the keyboard to close tabs instead of clicking on that button. The keyboard shortcut [CTRL W] will close the active tab as long as Firefox is the active window. That’s convenient and making the close button more or less superfluous.
Another problem that arises when displaying close buttons on all tabs is that the tab size changes dynamically. This becomes apparent when you open many tabs. If you start closing tabs you will sooner or later notice that the close button shifted because of changed tab sizes.
But what are the options that the Firefox developers have implemented in the web browser? The parameter [browser.tabs.closeButtons] in [about:config] handles the close button in Firefox.
- 1: This is the default value, it displays a close button on every tab in Firefox.
- 0: This displays a close button only on the active tab.
- 2: This displays no close button at all.
- 3: Displays a single close button at the end of the tab bar.
Keyboard junkies will probably set the value to 2 to get rid of all close buttons. Users who regularly open many tabs will probably set it to 3 to be able to access the close button in the same place.
Related posts:
Change The Number Of Tabs That Firefox Can UndoMake Tabs Permanent In Firefox
Change the number of results in the Firefox 3 location bar
Tab To New Window Annoyance In Firefox
Force Firefox To Open Links In Same Tab
Tab Preview Features In Firefox 3.6
Change Single- and Middle-Click behavior in the Firefox location bar
Change the Firefox Location Bar Search Engine
6 Responses to “Change The Location Of Close Button In Firefox”
Trackbacks/Pingbacks
-
[...] Vu chez GHacks [...]


CTRL-W is a standard “close this document” shortcut in Windows. Another standard way to close a document is CTRL-F4.
Used this for years – I always use ‘2′ to get rid of all buttons as middle-click with the mouse is easier.
Hmmm … set to “0″, restarted Firefox (v3.04) but still annoying close buttons on all tabs.
– Update … TabMixPlus addon was overriding the change
https://addons.mozilla.org/en-US/firefox/addon/1950
ALT* + F4