There is enough discussion on how both Firefox and Chrome dominate what Ctrl+W does: Closes the current tab. And how it is not configurable/overridable.
This question is asking for alternative software. Does there exist a browser where pressing the keys Ctrl+W does not close the current tab?
I am Windows and Linux.
42 Answers
You can use Vivaldi for this. Vivaldi is a Chrome based browser, but in the settings, there is a keyboard tab where you can define every keyboard shorcut you wish to use (or in this case, not use).
In the TAB section, Close tab is set to both Ctrl+W and Ctrl+F4, but if you hover your mouse on that row, an x appears at the right which you can use to clear the shortcut.
9You may block Ctrl+W on any browser using the freeAutoHotkey.
Use the following example script for Chrome:
SetTitleMatchMode, 2 ; title can contain string anywhere to match
#IfWinActive, Chrome ; title contains "Chrome"
^w::return ; ignore Ctrl-WAfter installing AutoHotKey, put the above text in a .ahk file and double-click
it to test. You may stop the script by right-click on the green H icon in the
traybar and choosing Exit. To have it run on login, place it in the Startup group atC:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.
Useful AutoHotkey documentation:
2