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!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

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

  • 2 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 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

被采纳的解决方案

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)

more options

Okay so you want to add a feature right ?

more options

选择的解决方案

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.