Skip to content
NYC Tech Tips

NYC Tech Tips

Tech Tips From a NYC System Administrator

  • Home
  • About
  • Downloads
  • JB Network Design
  • Toggle search form

Put Back The “x” in Firefox

Posted on July 2, 2009 By ninjatechnyc 1 Comment on Put Back The “x” in Firefox

Downloaded and installed Firefox 3.5 yesterday, and the first thing I noticed was that the “x”, the close button, was missing on the tab, when only one tab is open.

WithoutXWhere did it go? I don’t know if it’s a bug, or a feature, but I miss it.  Sometimes I want to close a page without closing the whole browser. Well, doing a little digging on the internet, I found a solution.

Basically, you need to do two things.

1. Add the following lines to the userChrome.css file (if you don’t have one, create it using notepad or download this one ; right-click and choose Save As):

/* Add tab-close-button to last tab*/
.tabbrowser-tabs[closebuttons=”alltabs”] >
.tabbrowser-tab >
.tab-close-button {
display: -moz-box !important;
}
.tabbrowser-tabs:not ([closebuttons=”noclose”]):not ([closebuttons=”closeatend”]) >
.tabbrowser-tab[selected=”true”] >
.tab-close-button {
display: -moz-box !important;
}

This file is usually located in the chrome directory:

C:\Documents and Settings\USERNAME\Application Data\Mozilla\Firefox\Profiles\RANDOM.default\chrome

The words in red obviously will be different for your computer and your profile.  Save the file you created (or downloaded) there.

2. You need to open up Firefox, and in the address bar type in about:config for the url, to open up the config page:

aboutconfig1

You’ll get a warning that you might void your warranty! Click on the button to continue:

warning

That will open up the config page. Scroll down to “browser.tabs.closeWindowWithLastTab”, doubleclick on it to set it to false


setting

Restart your browser and…

WithXTada! It’s back!

tech, tech tips, windows Tags:browser, close button, firefox, firefox 3.5, no tab close button

Post navigation

Previous Post: helper.dll and _helper.dll removal
Next Post: Facebook Christmas Worm Spreads Holiday Infection — InformationWeek

Comment (1) on “Put Back The “x” in Firefox”

  1. TopherFrancis says:
    July 2, 2009 at 5:13 am

    Wow, thank you so very much! I never realized how much I valued my little X until they took it away!!! Thank you for your contribution to the community!

Comments are closed.

Search

Tags

adobe Amazon antispyware antivirus apache Apple AT&T blackberry browser China computer data breach Dell dilbert dogbert email encryption facebook faulting application FB firefox firewall flash drives freeware godaddy google Hack Identity Theft Internet Explorer iPhone linux malware Microsoft paypal phishing privacy recommended reading scam security software tech support ubuntu virus windows Wordpress

Archives

  • April 2021
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • June 2017
  • May 2017
  • December 2016
  • November 2015
  • June 2015
  • June 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • September 2011
  • July 2011
  • May 2011
  • April 2011
  • March 2011
  • January 2011
  • December 2010
  • October 2010
  • August 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • December 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • February 2009
  • December 2008
  • November 2008
  • October 2008
  • July 2008
  • June 2008
  • April 2008
  • March 2008
  • January 2008

Copyright © 2021 NYC Tech Tips

Powered by PressBook Dark WordPress theme