How to stop firefox quiting last tab(when only one tab is open) without warning??
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
選ばれた解決策
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.
この回答をすべて読む 👍 2すべての返信 (2)
Okay so you want to add a feature right ?
選ばれた解決策
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.