Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search 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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

How to stop firefox quiting last tab(when only one tab is open) without warning??

  • 2 valiny
  • 2 manana an'ity olana ity
  • 1 view
  • Valiny farany nomen'i cor-el

more options

i want to disable ctrl+w when only one tab is open so that when only one tab is open and if i press ctrl+w by mistake it shoud warn me before closing browser

i want to disable ctrl+w when only one tab is open so that when only one tab is open and if i press ctrl+w by mistake it shoud warn me before closing browser

Vahaolana nofidina

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Hamaky an'ity valiny ity @ sehatra 👍 2

All Replies (2)

more options

Okay so you want to add a feature right ?

more options

Vahaolana Nofidina

You can set the browser.tabs.closeWindowWithLastTab pref to false on the about:config page to prevent closing the last tab from closing that window and make a close button appear if only one tab is open.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.