A few words of thanks would be greatly appreciated.

Firefox - Customize or remove the Close tab button


Under Firefox, while working with multiple tabs, it may happens that you accidentally click on the button to close a particular tab and as result you may lose some important work (such as, the data entered in an online form).


The Close Tab button can be disabled. This implies that to close a particular tab, you will simply have to left click on the tab and scroll to the Close tab option.


Open firefox:
  • In the adress bar of your browser enter: about:config
  • In the Search bar, enter: browser.tabs.closeButtons
  • Right click and change the value:
  • 0:Close button is displayed only on active tab.
  • 1:The default value. It shows the close button in all tabs.
  • 2:Completely removes it from all the tabs.
  • 3:Shows a single close button at the end of the tab bar.

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled "Firefox - Customize or remove the Close tab button," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).