3 ms·
> Don't put the commonly-used "close this window" keyboard shortcut right next to the infrequently-used and irreversible "quit this application" shortcut. In pa
by andrepd 6y ago
> Don't put the commonly-used "close this window" keyboard shortcut right next to the infrequently-used and irreversible "quit this application" shortcut. In particular, don't put "close this window" on control-W and "quit this application" on control-Q. I'm looking at you, Firefox.
Oh my fucking god, the number of times I've been bit by this and had hundreds of tabs closed from under me because the shortcut I press hundreds of times per day is right next to the "close everything with no confirmation". Yes, if you click the X button to close the window you are treated to an "are you sure" dialog. But if you accidentally hit Ctrl-Q that doesn't happen.
- jmholla 6y agoI've been using this to work around it in Firefox: https://janschejbal.github.io/disable-ctrl-q/ https://janschejbal.github.io/disable-ctrl-q/ Sounds like we'll be able to disable it altogether in newer versions of Firefox.