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 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.