Firefox is really superb browser, great support of addons, themes for your taste, faster browsing, etc. Apart from that, firefox also have tweaking support for software hackers or tweakers using about:config
Many times while switching in between tabs, we accidentally click the close button in tabs. So here is the trick to avoid these accidental clicks on cross close buttons. We can change or move the position of that cross close button in firefox or even we can remove it from tabs.
So, follow these steps to hack your firefox.
Open new blank tab and type about:config in address bar and press enter.
This will ask you about warranty violation, Ignore that and click “I will be careful, I promise..!†and yes be careful while editing anything in this.
Now search for browser.tabs.closeButtons in column “Preference nameâ€.
Now set the value as per following table and needs.
# 0:Display a close button on the active tab only [I am using this]
# 1:(This is Default) Display close buttons on all tabs.
# 2:Remove close buttons from all tabs [You can close tabs using middle mouse click]
# 3:Display a single close button at the end of the tab bar (Firefox 1.x behavior)
To change the value just double click on the row.