A chrome extension to overwrite the Ctrl + W
shortcut from closing the active tab. Also, it will trigger a keyboard event which allows you to use the Ctrl + W
key combination in your websites.
-
Navigate to
chrome://extensions
-
Click
Load unpacked
-
Select folder for this repository
-
Navigate to
chrome://extensions/shortcuts
-
Overwrite shortcuts (see image below)