A close button is shown on each tab of the Mozilla Firefox web browser by default. But if keep accidentally clicking on them, then you can move their position or remove them entirely. Here is how :
- Start Mozilla Firefox.
- Type about:config in the location bar and press Enter.
- Firefox will show a warning. Click on the button labeled I’ll be careful I promise. to proceed.
- In the Filter field type closeButtons. You would see a preference named browser.tabs.closeButtons as show,
- Double click on browser.tabs.closeButtons to change its value. You can enter a value from 0 to 3. Here are the effects of the values :
- 0 — displays a close button on the active tab only
- 1 — displays close buttons on all the tabs (this is default value)
- 2 — does not display any close buttons on any tab
- 3 — display a single close button at the end of the tab bar
- After changing the value, restart the browser for the changes to take effect.