Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I get rid of the close tab buttons on all the tabs in the current FF build?

  • 3 svar
  • 1 har dette problem
  • 12 visninger
  • Seneste svar af cor-el

more options

I tried the UserChrome.css solution but it did not work. I used that once before in a previous build of FF, and at that time, it did work. So something must've changed in one of the updates to break it.

Alle svar (3)

more options

Here is the solution I already tried: https://www.howtogeek.com/howto/internet/firefox/quick-tip-remove-close-button-from-firefox-tabs/ I also once used this solution: https://dottech.org/158982/how-to-remove-the-close-tab-button-on-firefox-tip/ But that option was removed by FF in all their infinite wisdom. <dripping with sarcasm and hate>

more options

Sorry, remove by Mozilla. FF is a program and not a company.

more options

Add code to the userChrome.css file below the default @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* tab close button */
.tab-close-button {display:none!important}

It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close and restart Firefox when you create or modify the userChrome.css file.