Recensiones de Disable Ctrl-Q and Cmd-Q
Disable Ctrl-Q and Cmd-Q per Rob W
Recension de LuisNabais
Classificate 1 de 5
per LuisNabais, 9 năm trướcDoes not work in my case.
Arch Linux x86_64
Firefox 52.0.2
Arch Linux x86_64
Firefox 52.0.2
Responsa de disveloppator
publicate 9 năm trướcConfirmed, sorry for that, I hope that you did not accidentally lose your tabs. I have edited the add-on description to state that it does not work on Linux for now until https://bugzilla.mozilla.org/show_bug.cgi?id=1325692 is fixed.
For now, you can use https://addons.mozilla.org/en-US/firefox/addon/disable-ctrl-q-shortcut/. That add-on will cease to work by the end of this year though. Hopefully the linked bugzilla issue will be fixed by then, so you can install this add-on again to get it to work (or keep the add-on installed; although it does not work right now, it does no harm either).
If you want to manually prevent the Ctrl-Q shortcut from working, open the global JavaScript console (Ctrl-Shift-J) and run the following code. This needs to be done for every new window.
document.getElementById('key_quitApplication').remove()
For now, you can use https://addons.mozilla.org/en-US/firefox/addon/disable-ctrl-q-shortcut/. That add-on will cease to work by the end of this year though. Hopefully the linked bugzilla issue will be fixed by then, so you can install this add-on again to get it to work (or keep the add-on installed; although it does not work right now, it does no harm either).
If you want to manually prevent the Ctrl-Q shortcut from working, open the global JavaScript console (Ctrl-Shift-J) and run the following code. This needs to be done for every new window.
document.getElementById('key_quitApplication').remove()
88 recensiones
- Classificate 1 de 5per Itay, 9 tháng trướcNo need for this! You can do on Firefox 87+ versions:
about:config
THEN:
browser.quitShortcut.disabled = true - Classificate 5 de 5per Usator de Firefox 18730413, 9 tháng trước
- Classificate 1 de 5per Евгений, 3 năm trước
- Classificate 2 de 5per LucasPestana, 3 năm trước> Instead of this add-on, visit "about:config" and set "browser.quitShortcut.disabled" to "true" to disable Ctrl+Q/Cmd+Q.
Since many users reported your extension didn't work for them, I went straight for this setting instead. It works perfectly, thank you for this plain instruction, Rob W.
I'd also recommend y'all to read THIS instead: https://superuser.com/a/1352295/599625 -- instructions on how to neutralize Ctrl+Q (and Ctrl+Shift+Q) for numerous versions of Firefox for Linux and Windows.
Note: apparently, this preference also neutralizes Cmd+Q (⌘Q) for Firefox on macOS too, hooray! https://news.ycombinator.com/item?id=29081356#29082023
However, it appears Ctrl+Shift+Q could still appears as a global Quit shortcut in the drop-down menu (I am a Windows user, running Firefox Developer Edition, currently at version 102); I just tested it prior to disabling the preference above: there are no prompts, no warnings, nothing. The whole browser simply closes rather abruptly.
Please try to make your extension disable Ctrl+Shift+Q as well.Responsa de disveloppator
publicate 3 năm trướcAfter changing the preference via about:config, the browser must be restarted for it to be fully effective. If that does not work, then you should file a bug report at bugzilla.mozilla.org - Classificate 1 de 5per Hutch, 5 năm trướcDoes not seem to work on Windows 10, Firefox 85.0.2. I installed the add-on and tried Ctrl+Shift+Q...and my browser closed. I thought, okay, maybe it needs a restart to work. So I opened it back up and tried it again...same thing. I was on a regular web page when I tried it, not a special browser page (which I think add-ons don't normally work on).
If I did something wrong or if this is fixed, let me know, and I'll change my rating. - Classificate 1 de 5per Aria, 5 năm trước
- Classificate 5 de 5per Usator de Firefox 15309485, 5 năm trước
- Classificate 5 de 5per Sergey Yaskov, 6 năm trướcThank you for the extension. Works well on macOS Catalina.
- Classificate 1 de 5per jake, 6 năm trướcDoesn't work on linux. you say to read the description if you're on linux but there's nothing there
- Classificate 5 de 5per Usator de Firefox 14672653, 6 năm trướcDoes work on my Firefox 73.0.1 on MacOS Catlina.
- Classificate 5 de 5per Vishwa, 7 năm trước
- Classificate 5 de 5per Usator de Firefox 14691725, 7 năm trước
- Classificate 5 de 5per GG, 7 năm trướcWorks as expected on macOS, the shortcut no longer quits Firefox.
On GNU/Linux it doens't work as stated in the description, until upstream adds the necessary APIs. - Classificate 1 de 5per Usator de Firefox 14462028, 7 năm trướcDoesn't work. Ctrl-q still quits Firefox 62.0.2.