Instead of this add-on, visit about:config and set browser.quitShortcut.disabled to true to disable Ctrl-Q/Cmd-Q. (Firefox 87+ only, since bug 52821 got fixed).
I have closed Firefox too often by accident while pressing Ctrl-Q (Linux/Windows/Mac) or Command-Q (Mac). This is especially inconvenient in private browsing mode, because such tabs are not restored by session restore when you restart Firefox.
This add-on replaces the Ctrl-Q and Command-Q shortcuts, so that upon pressing these shortcuts, Firefox does not quit any more. This add-on does not work as expected in Linux, until bug 1325692 is fixed. It works on macOS and Windows.
Instead of this add-on, visit about:config and set browser.quitShortcut.disabled to true to disable Ctrl-Q/Cmd-Q.
Install
		- License: MIT License
 - Weekly downloads: 1
 - Average daily users: 974
 - Rating: 2.7011/5 of 87 ratings
 - Created: 2016-12-22 15:49:27
 - Last updated: 2016-12-22 18:12:15
 - Homepage:
 - Support site and email
 - Orig: https://addons.mozilla.org/en-US/firefox/addon/disable-ctrl-q-and-cmd-q/
 - API: disable-ctrl-q-and-cmd-q@robwu.nl