Tip: Prevent Safari from closing the window when you close the last tab

OS X

I am sure that you have ever close tabs in Safari with CMD + W and you have not "braked" in time, so the last tab has been closed and therefore also the Safari window. Personally, it bothers me a lot, and you may not like this behavior either, but the positive part is that it has a solution.

Very easy

To do what Safari do not close with the last tab you have to follow the following steps:

  1. Open System Preferences and go to Keyboard
  2. Go to Keyboard shortcuts and select Applications
  3. Create a new function for the Safari application with the name «Close tab» and assign it the shortcut CMD + W

Clever. With this trick Once done, you can check that if you go to Safari and leave CMD + W pressed when you reach the last tab, the window will remain intact and will not close. The explanation is very simple, and it is that OS X assigns the shortcut only for that command and removes it from all the others, which makes the default behavior to be disabled and we can close the tabs at full speed without fear of closing window.

Source - Barrettj

More information - How to change autofill options in Safari browser


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.