Safari safes tabs upon quit

Discussion in 'Mac Apps and Mac App Store' started by AnTaR3s, Jan 13, 2017.

  1. AnTaR3s macrumors regular

    AnTaR3s

    Joined:
    Jul 19, 2011
    Location:
    Vienna
    #1
    Hey

    I have recently noticed a new behaviour of Safari. Previously, when I quit the app (CMD+Q) also automatically all tabs were closed and upon reopening Safari, it showed me my starting page (empty). Now, when I quit Safari with CMD+Q and then reopen it, the app restores all previously opened tabs! That's really annoying! For instance, when I now quit Safari and reopen it, it will automatically go to the macrumors forums. How can I change this behaviour?

    Also, I noticed that Safari has been much less reliable for the last couple of weeks, incorrectly displaying webpages and crashing from time to time. Thinking about switching to some other browser...

    thanks!
     
  2. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
  3. AnTaR3s thread starter macrumors regular

    AnTaR3s

    Joined:
    Jul 19, 2011
    Location:
    Vienna
    #3
    I must be blind

    [​IMG]

    where? If I set 'open with' to empty, also the previous tabs are restored...
     
  4. Pearl Wisdom macrumors member

    Joined:
    Sep 25, 2009
    #4
    I think sammich might be using an earlier version. In El Capitan, I think you should go to the System Preferences > General, and near the bottom check off the box for "Close windows when quitting an app". Of course, that will affect all apps other than Safari. It looks like option-command-Q will quit Safari and close all its windows, so I think that would be the most specific way to do what you want for Safari.
     
  5. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #5
    In addition to Pearl Wisdom’s suggestions, you can:
    • Just close the window before you quit the app. This is how the restoration feature is supposed to work.
    • Reverse the mentioned shortcuts for Safari, so that command–Q will always close all windows when quitting. You can do that by adding new shortcuts in System Preferences → Keyboard → Shortcuts → App Shortcuts and then add two for ‘Quit and Close All Windows’ and ‘Quit Safari’.
    • Try this Terminal command (I cannot say whether this works in Safari, it does in Preview):
      Code:
      defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -bool false
      This command will set a preference in Safari’s configuration file. You have to quit Safari once to apply this preference.
     
  6. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #6
    Au contraire, I'm on Sierra and both Safari and Safari Technical Preview have the option at the top.

    I double checked with another user account to make sure it's not a hidden option (somehow) and it's also there.

    Apologies for the confusion. I've always thought the option was there. Seems like KALLT's solution is your way forward.
     

    Attached Files:

    • pung.png
      pung.png
      File size:
      150.8 KB
      Views:
      30
  7. AnTaR3s thread starter macrumors regular

    AnTaR3s

    Joined:
    Jul 19, 2011
    Location:
    Vienna
    #7
    Thanks for your answers. I used Pearl Wisdom's suggestion to solve the issue.
     

Share This Page