Is There a Browser That Ctrl+W Does Not Close Tab?

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.

4

2 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.

9

You may block Ctrl+W on any browser using the free AutoHotkey.

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-W

After 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 at C:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Useful AutoHotkey documentation:

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest