EricSkiff.com Open Source Everything

25Oct/060

Easily get rid of the “close tab” buttons in Firefox 2

Okay. I already love Firefox 2 for the integrated spell-checker alone, and as someone who often has way too many tabs open, I appreciate the new little interface at the right of the tab bar for listing them.

ff2_tab That said, I'm perfectly comfortable middle-clicking (pressing down my mouse wheel, for the un-initiated) to open and close tabs, so losing valuable space where the names of my tabs go for lots of little "close tab" buttons was not my favorite change.

Predictably, the smart folks developing Firefox hid this potentially confusing option from most users, but it's still easy to get to if you know what you're doing.

Here's how to turn them off and get that tab-bar real estate back.

* Open a new tab with crtl-t. the address bar, type about:config
ff2_aboutconfig
* There's lots of options here, so type "tab" in the filter bar
ff2_filter
* You might be interested in some of the other options here, but the one that concerns us for the moment is
* browser.tabs.closeButtons
* Edit it and set the value to 0
* Close and reopen Firefox, pop open some tabs, and they should look nice and clean.

The close button still shows up on the tab you're on, but since you're already on that page, you really don't need to read the tab.

For those of you that miss the stationary close-tab X at the right of the tab bar, you can close the current tab with ctrl-w, eliminating the need to hunt around for the red X to close each one.

Don't forget that you can middle click tabs to close them too!

Comments (0) Trackbacks (1)

Leave a comment