How to stop Safari reopen on last page

When I quit Safari, and then reopen it, it returns to the last page viewed, and not to the Top Sites view, as I have configured in Preferences. Is this part of the new Resume feature of Lion, and if so, how do I turn that off?

MacBook Pro, Mac OS X (10.7)

Posted on Jul 23, 2011 11:32 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 29, 2012 1:59 AM

I don't think you have to use terminal and I don't think this is a bug. If you go into System Preferences and then General you will see a checkbox that says:


Close windows when quitting an application

When selected, open documents and windows will not be retored when you re-open an application


This worked perfect for me. I checked the box and now my homepage loads and nothing retores.

67 replies
Question marked as Top-ranking reply

Jul 29, 2012 1:59 AM in response to rshillington

I don't think you have to use terminal and I don't think this is a bug. If you go into System Preferences and then General you will see a checkbox that says:


Close windows when quitting an application

When selected, open documents and windows will not be retored when you re-open an application


This worked perfect for me. I checked the box and now my homepage loads and nothing retores.

Jul 26, 2011 8:40 AM in response to rshillington

Here's the solution to force Safari to start clean everytime:


Go to terminal and type in the following:


defaults write com.apple.Safari ApplePersistenceIgnoreState YES


If you decide that you rather have the new resume behavior, execute the above commands but change YES to NO.


You can also do the same for Preview:


defaults write com.apple.Preview ApplePersistenceIgnoreState YES

Jul 12, 2012 1:18 PM in response to rshillington

This simple solution seems to have worked for me.


I made sure that restore windows box was unchecked in System Prefs (see above posts). then in Safari preferences I changed the "new windows open with" preference to a new option (such as blank window) and also changed "new tabs open with" to a new setting (also blank window). Quit with option+command+Q. Then relaunched safari.


Safari opened to a blank page, I then reset those options to open to top sites which is what I originally wanted. Opt+Command+quit again just in case. And launched Safari and window opened to top sites which is what I prefer.


Seems like switching this setting rewrote the p.list or something like that and solved the problem for me. Good luck and hope this helps others.


3.6GHz Intel iMac i5, OS 10.7.4, Safari 5.1.7

Oct 26, 2012 6:35 AM in response to rshillington

rshillington,


I know I'm kind of late to the party, and I know a lot can change in updates in like 4 months, but I was wondering if maybe what you were looking for is a setting in Safari/Preferences/On the General Tab/ Look for the option Safari open with: "A new window". I know for me at least if that is set to "All windows from last session" then it doesn't matter what I have set in System Preferences/General/ [] Close windows when quitting an application.


westongallagher


User uploaded file

Dec 20, 2011 2:32 PM in response to rshillington

I have found that the Terminal command works in some cases, the option-command-q when quitting Safari works in others, and going into System Prefrences-->General and unchecking the checkbox near the bottom that says 'Restore windows when quitting and re-opening apps' works as well. If one didn't work, I tried another option, and if that didn't work, I'd try a third option. One of the three has worked everytime, and I've had to do this on multiple computers running Lion (OS X.7.2). It does seem odd that I have to use a different option on different machines, though.

Jan 5, 2012 12:07 AM in response to rshillington

FOLLOW THIS-


IF YOU UNCHECKBOX IN GENERAL IT WILL OVERALL DISABLE AWESOME FEATURE OF LION TO RESTORING BACK FILES LIKE ANY iOS DEVICES.


THERE IS A SIMPLE SOLUTION-


1. DOWNLOAD APP CALLED TINKER TOOL.(IT'S FREE)

2. OPEN THE APP AND GO TO "RESUME" MENU

3. CHANGE INDIVIDUAL APPS PREFERENCES FROM "SYSTEM DEFAULT" TO "YES" OR "NO"

4. IN THIS CASE SELECT SAFARI AND SET IT TO "NO"



BY THIS YOU DON'T NEED TO DISABLE RESTORE FEATURE ALL TOGETHER OR REMEMBER TO HOLD OPTION EVERYTIME WHILE YOU QUIT OR GET YOUR HANDS DIRTY WITH TERMINAL.


HOPE THIS HELPS 🙂

Jul 23, 2011 12:49 PM in response to NoJob

HAHA! I just found it!


When you go to shut your computer off or restart, there is now a box that says "Reopen windows when logging back in". It is currently checked, and although I unchecked it and hit "Cancel" it was checked when I next tried to do a restart. I'll uncheck and restart and see if it stays unchecked.


BTW, this is a stupid thing to have in the Restart or Shut Down confirmation box, and should just be an option you can set in System Preferences.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to stop Safari reopen on last page

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.