This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Prevent ctrl+q from closing the browser

  • 1 èsì
  • 1 ní ìṣòro yìí
  • 1 view
  • Èsì tí ó kẹ́hìn lọ́wọ́ Tonnes

more options

I have tried every single trick that I found to disable the key combination ctrl+q from closing Firefox. The config option that should make a confirmation dialog be shown on ctrl+q does not work. Apparently, I'm not the only one bothered by this bug. There was a neat add-on, which does not work anymore with the recent Firefox.

I have tried every single trick that I found to disable the key combination ctrl+q from closing Firefox. The config option that should make a confirmation dialog be shown on ctrl+q does not work. Apparently, I'm not the only one bothered by this bug. There was a neat add-on, which does not work anymore with the recent Firefox.

Ọ̀nà àbáyọ tí a yàn

A first question would be why you want to disable the shortcut, but I assume there will be a reason, such as because you want to use it for some other application. If so, you could consider changing that application’s shortcut, but of course we respect your choice.

Second, if the confirmation dialog "apparently doesn’t work", chances are you have set Firefox to behave in a way your tabs wil be restored anyway at startup which can or will overrule the dialog, given the number of support questions ending with that conclusion. More info about these conditions and how to restore them can be found in this support article.

If that does not help, it may also be good to name the add-on that does no longer work or have a look at one using the Extension finder page in order to find a replacement for it.

Last, if nothing helps, you could consider editing the file(s) containing the strings and shortcuts for Firefox and repacking them, so you would be able to change the q to another key. Please let us know if you need help for that.

Ka ìdáhùn ni ìṣètò kíkà 👍 0

All Replies (1)

more options

Ọ̀nà àbáyọ Tí a Yàn

A first question would be why you want to disable the shortcut, but I assume there will be a reason, such as because you want to use it for some other application. If so, you could consider changing that application’s shortcut, but of course we respect your choice.

Second, if the confirmation dialog "apparently doesn’t work", chances are you have set Firefox to behave in a way your tabs wil be restored anyway at startup which can or will overrule the dialog, given the number of support questions ending with that conclusion. More info about these conditions and how to restore them can be found in this support article.

If that does not help, it may also be good to name the add-on that does no longer work or have a look at one using the Extension finder page in order to find a replacement for it.

Last, if nothing helps, you could consider editing the file(s) containing the strings and shortcuts for Firefox and repacking them, so you would be able to change the q to another key. Please let us know if you need help for that.