Pógódnośenja za Disable Ctrl-Q and Cmd-Q
Disable Ctrl-Q and Cmd-Q wót Rob W
8 pógódnośenjow
- Z 4 z 5 pógódnośonywót Aufbeschissener Kunde, ੭ ਸਾਲ ਪਿਛਲੇWorked great until Mozilla changed the panic-quit command from Ctrl+Q to Ctrl+Shift+Q, which I've accidentally mashed, so this extension no longer does anything. (Experienced in Firefox 62.0.2, Windows 7, 64-bit.)
- Z 4 z 5 pógódnośonywót Wužywaŕ Firefox 14319391, ੭ ਸਾਲ ਪਿਛਲੇWorks flawlessly on MacOS.
Would you mind publishing the source code? A GitHub repo would be great. - Z 4 z 5 pógódnośonywót Wužywaŕ Firefox 13896988, ੭ ਸਾਲ ਪਿਛਲੇWorks great on Windows 10, my only gripe is that you can't configure the hotkey, because I commonly use Ctrl-tab and Ctrl-shift-tab to change tabs and find myself accidentally hitting q at the same time.
- Z 4 z 5 pógódnośonywót Mark, ੭ ਸਾਲ ਪਿਛਲੇNot the right place to put this, but for Ubuntu users, here's a workaround:
* System Settings (in Ubuntu)
* Keyboard
* Shortcuts
* Custom shortcuts
* Add a new one with command ':' and any name
* Assign ctrl+Q to it.
This disables ctrl+Q for all programs, not just Firefox. - Z 4 z 5 pógódnośonywót gianni, ੭ ਸਾਲ ਪਿਛਲੇI can confirm that this doesn't work at all under firefox 57 and linux ubuntu 17.10. I don't give a one star because it works elsewhere :-) I'm sure that the developer will fix this. Thanks for your work, and I hope for a fix in linux.
- Z 4 z 5 pógódnośonywót caesar, ੮ ਸਾਲ ਪਿਛਲੇWorks well on OS X. Might be nicer if instead of simply disabling Cmd+Q it popped up a warning which then allowed pressing Cmd+Q a second time within a couple of seconds to actually quit.
- Z 4 z 5 pógódnośonywót Mathnerd314, ੮ ਸਾਲ ਪਿਛਲੇExcellent addon, but needs a GitHub repository or similar to manage issues (reviews are not really a good place...)
Wótegrono wuwijarja
jo se napisał ੮ ਸਾਲ ਪਿਛਲੇThe code behind this add-on is so simple* that I haven't bothered with creating a Github repository.
To get support, just mail me (see "Support E-mail" at the add-on listing for my address).
* you can view the code at https://robwu.nl/crxviewer/?crx=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2Faddon%2Fdisable-ctrl-q-and-cmd-q - Z 4 z 5 pógódnośonywót Wužywaŕ Firefox 10505403, ੮ ਸਾਲ ਪਿਛਲੇDoes the WebExtensions API make it possible to implement a CMD-Q Catcher-like behavior - e.g. press Cmd+Q twice to quit?
EDIT (reply): I use it in Opera (which has it in its advanced options: Hold Command-Q (or press it twice) to quit Opera) and like it very much. That's why I'd like to have it here as well to keep the behavior consistent. CMD-Q Catcher does just that, but it's an old and unmaintained extension without the e10s support.Wótegrono wuwijarja
jo se napisał ੮ ਸਾਲ ਪਿਛਲੇThe add-on just overrides Ctrl-Q and ignores the keystroke. I don't know if there is a way to exxplicitly quit Firefox (I can close all open windows, but I don't know for sure whether the windows would be restored when Firefox starts again).
I believe that quitting is such a rare operation that it should not be possible to do it by accident. Two Cmd-Q presses can still be done by accident.
If you want to explicitly quit Firefox by keyboard, you can use the following shortcut:
- Linux (and Windows too, I guess): Alt + F, Q
- macOS: Fn + Ctrl + F2, Arrow right, Arrow Down, Q, Enter (Ctrl instead of Fn + Ctrl if you are not using a Mac keyboard; to enable Ctrl+F2 the menubar shortcut should be enabled, see https://superuser.com/questions/303525/what-is-the-shortcut-to-access-the-menubar-in-mac-os-x).
(by following these shortcuts, you are basically opening the menu and activating the Quit menu item)