X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

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

Kuphostiwe

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.

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.

Eminye Imininingwane Yohlelo

Fakela amapulagi

  • Shockwave Flash 28.0 r0

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Eminye Imininingwane

Umnikazi wombuzo

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>

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>

Umnikazi wombuzo

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

Sorry, remove by Mozilla. FF is a program and not a company.
cor-el
  • Top 10 Contributor
  • Moderator
17421 izisombululo 157414 izimpendulo
Kuphostiwe

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.

Add code to the <b>userChrome.css</b> file below the default @namespace line. *http://kb.mozillazine.org/userChrome.css <hr> <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ /* tab close button */ .tab-close-button {display:none!important} </nowiki></pre> ---- 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. *https://support.mozilla.org/en-US/kb/use-troubleshooting-information-page-fix-firefox 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 <u>chrome</u> in this folder (name is all lowercase). In the <b>chrome</b> folder you need to create a text file with the name <u>userChrome.css</u> (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 <i>userChrome.css.txt</i>. 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.