搜索 | 用户支持

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

详细了解

How can I prevent ctrl+q from closing the browser?

  • 4 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

When I click ctrl+q by mistake, the browser window with all its tabs is closed immediately, with no warning. This has already made me lose data. is there a way to disable this keyboard shortcut?

When I click ctrl+q by mistake, the browser window with all its tabs is closed immediately, with no warning. This has already made me lose data. is there a way to disable this keyboard shortcut?

被采纳的解决方案

Hello, Could you please type about:config in the address bar

search for those two preferences and set them true: browser.sessionstore.warnOnQuit browser.warnOnQuit

Hope it will work out

定位到答案原位置 👍 1

所有回复 (4)

more options

选择的解决方案

Hello, Could you please type about:config in the address bar

search for those two preferences and set them true: browser.sessionstore.warnOnQuit browser.warnOnQuit

Hope it will work out

more options

This solved the problem, thanks

more options

Note that there is also a checkbox in "Options/Preferences -> General -> Startup" for the fist pref.

  • Warn you when quitting the browser
more options

Firefox 87+ versions have a pref to disable Ctrl+Q to close Firefox. browser.quitShortcut.disabled = true You need to close and restart Firefox after toggling this pref.