Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Deactivate default short-cut ctrl+shift+w

  • 7 ŋuɖoɖowo
  • 1 masɔmasɔ sia le esi
  • 1 view
  • Nuɖoɖo mlɔetɔ deep_thought

more options

I use Firefox' short cuts a lot, especially ctrl+w to close the current tab. However it happens every sometimes that I additionally press shift making Firefox close all tabs. As this is very annoying (and because I never used ctrl+shift+w deliberately) I want to deactivate this short cut. Is there any way I can achieve that?

I use Firefox' short cuts a lot, especially ctrl+w to close the current tab. However it happens every sometimes that I additionally press shift making Firefox close all tabs. As this is very annoying (and because I never used ctrl+shift+w deliberately) I want to deactivate this short cut. Is there any way I can achieve that?

deep_thought trɔe

All Replies (7)

more options

Not sure if this well help or not.

Copy/Paste Keyboard into the search box in above, will know why C/paste. All the usual ways I can find are not applicable to Quantum. There are still Extensions being worked on, check above URL on/off to see if something changes. Below is list of known addons being worked on.

Please let us know if this solved your issue or if need further assistance.

more options

Maybe set this pref to false to avoid closing the window and use undo closed tab.

  • browser.tabs.closeWindowWithLastTab

There is this extension for Ctrl+Q as a more dangerous combination.

more options

Pkshadow said

Not sure if this well help or not. Copy/Paste Keyboard into the search box in above, will know why C/paste. All the usual ways I can find are not applicable to Quantum. There are still Extensions being worked on, check above URL on/off to see if something changes. Below is list of known addons being worked on. Please let us know if this solved your issue or if need further assistance.

Yeah, I couldn't find an extension doing that myself either. The list you mention is nice, it seems that other people are aware of the problem that add-ons currently can't override standard short-cuts: https://bugzil.la/1325692

cor-el said

Maybe set this pref to false to avoid closing the window and use undo closed tab.
  • browser.tabs.closeWindowWithLastTab
There is this extension for Ctrl+Q as a more dangerous combination.

Nice idea, but doesn't help, still all tabs are closed thus closing the whole window. Also the add-on you mention fits quite good here and is interesting, but at least did not work on my FF 58.

more options

Do you get the warning that closing the window will close a whole bunch of tabs so you can cancel at that point?

If that's disabled, you could check whether you can turn it back on here:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste warnon and pause while the list is filtered

If any of the preferences are bolded and "modified" to false, you could double-click them to restore the default value of true and see whether that helps.

more options

jscher2000 said

Do you get the warning that closing the window will close a whole bunch of tabs so you can cancel at that point? If that's disabled, you could check whether you can turn it back on here: (1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk. (2) In the search box above the list, type or paste warnon and pause while the list is filtered If any of the preferences are bolded and "modified" to false, you could double-click them to restore the default value of true and see whether that helps.

Good idea, I looked it up, but sadly all “warnon” entries are neither bolded nor false, they're already true. Still, there's no warning before all tabs are closed so I can't cancel at that point.

deep_thought trɔe

more options

On Linux with browser.tabs.warnOnClose set to true I get a warning when I press Ctrl+Shift+W. This is regardless of the startup setting. Note that you can set this pref to 1 to show a restore button on the Tab bar.

  • browser.tabs.restorebutton = 1

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

cor-el said

On Linux with browser.tabs.warnOnClose set to true I get a warning when I press Ctrl+Shift+W. This is regardless of the startup setting. Note that you can set this pref to 1 to show a restore button on the Tab bar.
  • browser.tabs.restorebutton = 1
Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.
  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window

Hi, thanks for your time! So I figured what causes FF to not display the warning: I had the option to open the last session's windows and tabs on startup enabled because I feared losing them otherwise in case FF crashes and I don't click on the restore button the next time I open it. Once I unticked it, I saw the warning again.

Indeed the ctrl+shift+w does not make me lose my open sites because with that option enabled they get automatically restored, but it's annoying. Which is why I asked this question in the first place. But thanks, now I know at least why I am not being warned.