I would like to propose an option to change the keyboard shortcut to
quit Firefox from Ctrl-Q to Ctrl+Shift-Q. It is a simple patch, but I
do not know how people would react to it. The benefit is that it
removes the "feature" of accidentally quitting when only desiring to
close a window or tab (Ctrl-W). As you can see from the patch, this is
the default for Windows, so it is not unprecedented.
I used to use userChrome.css to change it, but I have to resort to
modifying the code due to limitations of more modern versions.
Is this something that would be accepted? I wrote the patch to always
be applied, yet it can be changed to be behind an option.
Sean
--
s...@freebsd.org
# Require Ctrl+Shift-Q to quit the browser.
--- browser/base/content/browser-sets.inc.orig 2020-01-03 18:57:42 UTC
+++ browser/base/content/browser-sets.inc
@@ -296,7 +296,7 @@
#ifdef XP_WIN
modifiers="accel,shift"
#else
- modifiers="accel"
+ modifiers="accel,shift"
#endif
# On OS X, dark voodoo magic invokes the quit code for this key.
# So we're not adding the attribute on OSX because of backwards/add-on compat.