Iceggiren i Disable Ctrl-Q and Cmd-Q
Disable Ctrl-Q and Cmd-Q sɣur Rob W
Icegger-it Mark
Yettwasezmel 4 ɣef 5
sɣur Mark, il y a 8 ansNot 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.
* 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.
88 n yiceggiren
- Yettwasezmel 1 ɣef 5sɣur Itay, il y a 7 moisNo need for this! You can do on Firefox 87+ versions:
about:config
THEN:
browser.quitShortcut.disabled = true - Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 18730413, il y a 7 mois
- Yettwasezmel 1 ɣef 5sɣur Евгений, il y a 3 ans
- Yettwasezmel 2 ɣef 5sɣur LucasPestana, il y a 3 ans> 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.Tiririt n ineflayen
yeffeɣ-d deg il y a 3 ansAfter 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 - Yettwasezmel 1 ɣef 5sɣur Hutch, il y a 5 ansDoes 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. - Yettwasezmel 1 ɣef 5sɣur Aria, il y a 5 ans
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 15309485, il y a 5 ans
- Yettwasezmel 5 ɣef 5sɣur Sergey Yaskov, il y a 5 ansThank you for the extension. Works well on macOS Catalina.
- Yettwasezmel 5 ɣef 5sɣur MorningAltair, il y a 5 ansWorks as described. MacOS Catalina + Firefox 76.
- Yettwasezmel 1 ɣef 5sɣur jake, il y a 6 ansDoesn't work on linux. you say to read the description if you're on linux but there's nothing there
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 14672653, il y a 6 ansDoes work on my Firefox 73.0.1 on MacOS Catlina.
- Yettwasezmel 5 ɣef 5sɣur Vishwa, il y a 6 ans
- Yettwasezmel 5 ɣef 5sɣur Aseqdac Firefox 14691725, il y a 7 ans
- Yettwasezmel 5 ɣef 5sɣur Mikmikmik, il y a 7 ansAbsolute essential Add-on ! Works perfectly reliable !
- Yettwasezmel 5 ɣef 5sɣur GG, il y a 7 ansWorks 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. - Yettwasezmel 1 ɣef 5sɣur Aseqdac Firefox 14462028, il y a 7 ansDoesn't work. Ctrl-q still quits Firefox 62.0.2.