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

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

  • 4 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view
  • Last reply by cor-el

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

Read this answer in context 👍 1

All Replies (4)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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

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

  • Warn you when quitting the browser

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.