Safari 5.1 opens all previous windows on launch

I just upgraded to Lion and Safari 5.1, and every time I open Safari, it launches all the windows I previously had open automatically, sometimes from more than one session. Any idea how to turn off this feature, or just have one window with my homepage open on launch?

Third-party system modifications are a common cause of instability and poor performance. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions -- they’re easy to carry out and won’t change anything on your Mac.
Reboot as usual (not in safe mode) if you haven't already done so. Launch the Terminal application, copy or drag -- do not type -- the line of text below into the window, and press return:
kextstat -kl | awk ' !/apple/ { print $6 $7 } '
Post the lines of output (if any) that appear below what you just entered (the text, please, not a screenshot.)
Next, do the same thing with this line:
sudo launchctl list | sed 1d | awk ' !/0x|apple|com\.vix|edu\.|org\./ { print $3 } '
That's one line, not two. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning.
Next, this command:
launchctl list | sed 1d | awk ' !/0x|apple|edu\.|org\./ { print $3 } '
Again, one line. Finally, one more:
ls -1A {,/}Library/{Ad,Compon,Ex,Fram,In,La,Mail/Bu,P*P,Priv,Qu,Scripti,Sta}* 2> /dev/null
Important: If you synchronize with a MobileMe account, your me.com email address will appear in the output of the above command. Change it to something like “[email protected]” before posting.
Remember, this is all drag-and-drop or copy-and-paste, whichever you prefer -- no typing, except your password.
You can then quit Terminal.

Similar Messages

  • Stopping Safari from auto-opening all old windows

    I find Safari openning all of my windows from when I last shut down incredibly aggrivating. Not only to I not want it but it takes FOREVER to get its barings and even start to load all the pages. I don't understand why Lion has all of these incredibly un-useful features turned on by default with no clear way how to turn them off.
    If any one knows how to stop this from happening I'd greatly appriciate it. I've done a search and not really found anything. Thanks!

    3 or 4 things you can do.
    (1) Turn off this "resume" feature for all applications via the checkbox near the bottom of the System Preferences, General pane.
    (2) Close all windows by hand before you quit safari.
    (3) option-quit safari.
    (4) Launch Safari from the dock using shift-click.
    charlie

  • Is there a way to automaticaly open all previous tabs after safari restart?

    because i allways have many tabs open, it is anoying to reopen them everytime when i open safari or when it crashes. opera has such a feature for example or seamonkey.
    to "open all the windows of the last session" wont somehow do the job...

    Hi,
    if i change browser, which one would you suggest? Cabino, Firefox (isnt this the older version of Seamonkey?) or Seamonkey?
    They are all related.
    SeaMonkey is essentially the old Mozilla application under a new name - this includes Web-browser, e-mail and newsgroup client, IRC chat client and HTML editor
    Firefox was the offshoot of Mozilla that only provided the web-browser in an aim to keep things as slim and bloat-free as possible (up for debate these days )
    Camino uses the same rendering engine (Gecko) as the other two, but does not support their plugin architecture and wraps itself up in a nice Mac-oriented interface.
    All are good browsers. Most people prefer Firefox. I prefer Camino
    There's no problems downloading all 3 and seeing which you prefer however.

  • Whenever I launch a new Google window, Google immediately re-opens all other windows I happen to have open but minimized. I then have to either close or re-minimize each window, one at a time. What a pain!!

    Whenever I launch a new Google window, Google immediately re-opens all other windows I happen to have open but minimized. I then have to either close or re-minimize each window, one at a time. What a pain!!

    Just to address the last point: check your History menu to see whether you have the Restore Previous Session option and use that if you can. If that is grayed out or doesn't restore everything, check the Recently Closed Windows and Recently Closed Tabs lists for other pages.
    The unwanted window may be generated by an add-on. Try disabling ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?
    Here are some other things to check:
    (1) user.js file that changes Firefox startup behavior and overrides your preferences. This article describes how to track that down and delete it if you have one: [[How to fix preferences that won't save]].
    (2) Possible hijacked shortcut. Check the "target" of the desktop icon you use to start Firefox to see whether it lists the unwanted page. To do that:
    right-click the icon > Properties > Shortcut tab
    For 64-bit Windows 7, the Target should be no more and no less than this:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    (3) Possible undisclosed bundle items. If you have installed any free software recently, check your Windows Control Panel, Uninstall a program for surprises. If you click the "Installed on" column head to group by date, it is easier to spot bundled junk. Remove everything suspicious or unrecognized.
    (4) Supplemental clean up scans. Our support article lists tools other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]].
    Hopefully that cures it.

  • My safari isn't open all the winndow

    my safari isn't open all the address

    If you can't see the Address Bar click View from the Safari menu bar then click Customize Toolbar from the drop down menu.
    If Safari isn't opening windows, go to the Safari menu bar click Safari > Empty Cache. Quit then relaunch Safari to test.
    If that didn't help, back to the menu bar click Safari > Reset Safari. Select the top 5 boxes, click Reset. Try again.

  • How to turn off "re-open all application windows"

    How to turn off "re-open all application windows". Even though its unselected in preferences. my computer still tries to do this and causes startup problems and delays. its been a hangup since lion. when are they going to fix this???

    Try this. . .
    You have two choices. You can choose that your applications not resume their previous state when you shutdown or restart the Mac by deselecting the checkbox that appears prior to shutdown:
    Or you can navigate to the General pane in System Preferences and deselect the Restore windows when quitting and re-opening apps option. However, if you do this, applications will never resume their previous state, even when quit and restarted during a single boot session.

  • After update, opens all previously opened pdfs

    This happens on both XP and Vista with Reader 9. After doing an automatic online update of Reader, then next time Reader is opened, it tries to open all previously opened PDFs. Of course this slams the machine while Reader is trying to open all of those files. This happens whether attemptig to start Reader by opening a file or starting Reader directly. This is unacceptable behavior.

    Repair the Adobe Reader installation.

  • When i open a new site on safari it always opens a new window with ads how can i stop that?

    when i open a new site on safari it always opens a new window with ads how can i stop that?

    Follow the instructions in the Apple article below.
    Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support

  • How do I stop lion from opening all previously opened files on restart?

    How do I stop lion from opening all previously opened files on restart?  I want to wipe all open files, since that seems to be the most efficient way to close lots & lots of open files (that build up over the course of normal activities)

    One way is to always quit all applications before you shut down.
    An easy way to do this (although in my own experience it doesn't seem to always work perfectly) is to simply hit CMD + TAB + Q and hold down all three keys. 
    When you do that the computer will cycle through all open apps and close them. If there are any open files that haven't been saved, it won't close them. So you should save everything you want to save before you hit CMD + TAB + Q. 

  • I am having problems when i have minimized windows and try to open a new window it will open all minimized windows along with the new window. It just changed when mozzilla updated. It did not do this before the update.

    I am having problems when i have minimized windows and try to open a new window it will open all minimized windows along with the new window. It just changed when mozzilla updated. It did not do this before the update. Before the update if i had minimized windows they would stay minimized when i opened a new window. Please help ,I would guess it is just a setting somewhere but i cannot figure out where the setting is. Thanks jason

    This issue can be caused by the ASK.com Toolbar.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I don't want Safari to re-open all windows from last session; can't make it stop. Set Safari preferences to new window and new tab open with blank page, but it won't.

    P.S. Also cleared cache and History. Running OS 10.7.4 and Safari 5.1.7.

    I hate this "feature", and it is another example of Apple taking functionality (and choice) away from the user. In this article:
    http://support.apple.com/kb/HT4550
    there is a description of it.
    Resume in OS X Lion
    When you open Safari in Lion or restart the Mac, Safari automatically restores the open windows and tabs from your last browsing session, so you can continue right where you left off.
    Tip: To open Safari without resume, hold down the shift key (⇧) as you open Safari. Safari will then open with the options you selected in the "General" tab of Safari preferences, options like your homepage.
    In Mac OS X v10.6 and Microsoft Windows, you can choose to have Safari automatically restore your windows in the "General" tab of Safari preferences.
    99 times out of 100, I DON'T want to restore all the windows from my last browser session. It makes zero sense for them to take the checkbox out of the General tab of the Safari Prefs.

  • When I open Pages, it opens all previous documents. But I cannot close them:if I try, the program crashes

    Hello everyone.
    Since middle february, Pages has not been working properly.
    When I start the program, it opens by default a blank page. That was fine until recently. I would simply close it and open my desired document. But now I cannot close the blank document: if I do it, the program crashes.
    I have bypassed the problem by simply minimizing the blank one and going along with my own documents... Unfortunately now the problem has increased, as it will not close any document.
    Therefore when I start the program, it will re-open all the documents and it will crash all the time I try to close them.
    Also, It will not let me save them or turn themm to PDF.
    What can I do ?
    I have also removed the previous software and I bought (again) Pages on the App Store last week... results: NONE!! it still won't work.
    HEEEELLLPPPPP
    thank you
    jack

    Hello
    I was warned of your problem by Jerrold.
    As I'm really besy this evening, I didn't read carefully the available message.
    What you get is a Lion's feature named "Resume".
    If you dislike me (as I do but I don't feel useful to rant against it) there are several ways to get rid of it.
    (1) In theory, it's sufficient to uncheck a box in the General System PrefPane.
    I wrote « in theory » because, at least in the French version this feature is broken.
    (2) Some third party tools are delivered to rule the feature's behavior for each application.
    Here are two free ones :
    Lion Tweaks ( http://ifredrik.com/applications/ )
    TinkerTool ( http://www.bresink.com/osx/TinkerTool.html )
    (3) As none of them apply on my French System, I designed a home made brute force tool.
    --{code}
    --[SCRIPT don't resume]
    if my parle_Anglais() then
              display dialog "What to do ?" buttons {"Cancel", "Restart", "Shutdown"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Shutdown"
    else
              display dialog "Que faire ?" buttons {"Annuler", "Redémarrer", "Éteindre"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Éteindre"
    end if
    (path to library folder from user domain as text)
    tell application "System Events"
              delete every folder of folder (result & "Saved Application State")
              if |éteindre| then
      shut down
              else
      restart
              end if
    end tell
    --=====
    on parle_Anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_Anglais
    --=====
    --[/SCRIPT]
    --{code}
    Save this script as as Script and store it in the folder :
    <startupVolume>:Users:<yourAccount>:Library:Scripts:
    On my machine, thanks to FastScripts, I attached a shortcut to this script.
    So, when I press cmd +option + ctrl + Q I get this dialog :
    On an English System, the buttons are :
    Cancel, Restart, Shutdown.
    When we trigger the last two, the folder storing the dats required by the system to apply « Resume » is emptied so when we restart the machine no extraneous window is opened.
    I didn't described the way to reach the folder named Scripts.
    I'm sur that Jerrold will do that with a better English.
    Yvan KOENIG (VALLAURIS, France) mardi 17 avril 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • Safari will not open a browsing window

    I have a G4 tower running 10.3 and Safari 1.3.2
    Each time I open Safari, it loads fine, but I get no browsing window. The menus work, I can quit, organize bookmarks and so on. But, I cannot get a window, File > New window, or Apple N, neither will give me a browser window. So, it is completely useless.
    - I have done a clean archive and install of the 10.3 OS
    - I have made a new user, same problem
    - I have installed a few newer versions of Safari, these will not launch, they bounce in the dock, but do not open
    - I have installed Firefox, and it works fine
    So, this problem is worked around, but not solved.
    I am a little confused, a clean install of the OS should give me a new copy of Safari, as well as all the support networking files. A new user, should eliminate all the preferences issues.
    So, what other troubleshooting can I do to solve this?
    TIA
    mark

    I ASSUME that when I do an Archive and Install, I automatically get fresh copies of the various basic Apple programs like Mail and Safari?
    You do, but unless you use Software Update after that to bring your system current, you won't have Safari 1.3.2.
    Perhaps you should try this:
    1. Quit Safari if it's running.
    2. Go to Home/Library/Caches/Safari and delete all the sub-folders within that one.
    3. Go to Home/Library/Safari and:
    *Delete any of these files you have there:*
    • Downloads.plist
    • History.plist
    • LastSession.plist
    *Remove this file:*
    • Bookmarks.plist
    4. Restart Safari and see if the problem is fixed.
    Mulder

  • Safari Not working at all! (Windows 7)

    Hi all,  have searched a lot of forums and haven't found a soluion to this one yet.
    I am using Windows 7, Safari 5.1.2,  iTunes 10.5.2, Quicktime 7.7.1
    Safari does not open any webpage although all other functions seem to work, iTuines Store only opens as simple HTML (see below), and only after some long wait.
    (iTunes Diagnostic report below)
    So far I have tried:
    Turning off my firewall
    Re-setting winsock services
    Re-starting bonjour service
    Re-installing all above apple components (individualy and collectively)
    Deleting 'preferences' files in Safari
    Any other suggestions greatfuly received!
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Alienware Aurora-R2
    iTunes 10.5.2.11
    QuickTime 7.7.1
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 00C0A9440EB8E4E0
    Current user is not an administrator.
    The current local date and time is 2012-01-02 15:09:59.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    ATI Technologies Inc., ATI Radeon HD 5670
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 94e8b7f86b0ccd6d022cf60f853a0e0e
    iPodService 10.5.2.11 (x64) is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:    {4D964FBB-2241-41E0-8588-586247A25BD2}
    Description:    Bluetooth Device (Personal Area Network)
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    Yes
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 00:00:00 1970
    Lease Expires:    Thu Jan 01 00:00:00 1970
    DNS Servers:   
    Adapter Name:    {4CC96F08-E3A4-4BFB-A279-5B75348B2892}
    Description:    Killer Xeno NDIS EDGE Interface
    IP Address:    192.168.1.80
    Subnet Mask:    255.255.255.0
    Default Gateway:    192.168.1.254
    DHCP Enabled:    Yes
    DHCP Server:    192.168.1.254
    Lease Obtained:    Mon Jan 02 12:46:23 2012
    Lease Expires:    Tue Jan 03 12:46:23 2012
    DNS Servers:    192.168.1.254
    Adapter Name:    {043FA1B7-15EA-4D03-9207-3C001087C952}
    Description:    Realtek PCIe GBE Family Controller
    IP Address:    0.0.0.0
    Subnet Mask:    0.0.0.0
    Default Gateway:    0.0.0.0
    DHCP Enabled:    No
    DHCP Server:   
    Lease Obtained:    Thu Jan 01 00:00:00 1970
    Lease Expires:    Thu Jan 01 00:00:00 1970
    DNS Servers:   
    Active Connection:    LAN Connection
    Connected:    Yes
    Online:        Yes
    Using Modem:    No
    Using LAN:    Yes
    Using Proxy:    No
    SSL 3.0 Support:    Enabled
    TLS 1.0 Support:    Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was successful.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2012-01-02 13:27:03.

    Hi B Noir,
    I recently had to do a System Restore on my Windows 7 64 bit machine and then I got the dreaded "Safari has stopped working" windows whenever I try to launch it.  To be more specific, Safari, doesn't even launch.  I get that message.  Then when I click "Close the program", I get the "Safari has stopped working" message again. After I close that, then it stops.
    I've tried reinstalling the latest version of Safari twice now, and it still isn't working. 
    I also tried creating another Windows account, and Safari does not work on the new account either, unfortunately.
    Finally, I also tried your "So-much-for-subtlety" instructions and that unfortunately did not work.
    Any ideas?  If it helps, here's the problem signature from when I get the "Safari has stopped working window":
    Problem signature:
      Problem Event Name:          APPCRASH
      Application Name:          Safari.exe
      Application Version:          5.34.52.7
      Application Timestamp:          4eb16d27
      Fault Module Name:          KERNELBASE.dll
      Fault Module Version:          6.1.7601.17651
      Fault Module Timestamp:          4e211319
      Exception Code:          80000003
      Exception Offset:          0001280c
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          00b8
      Additional Information 2:          00b85080f77ffe6e49f095c1fe3be289
      Additional Information 3:          b2f2
      Additional Information 4:          b2f2b584c57e4d0d4f1a9442f91680f3
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    Thank you.

  • 2011 Macbook pro safari will not open & all i get is a spinning wheel

    I updated my computer and ever since, my safari will not load. all I get is a color spinning wheel. Other apps will not open either. I have done internet recovery, and started in safe mode. I do not know what else to do. I can not get online to redownload since safari doesn't work. I can not even reset safari. please any help appreciated

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried, testing after each one, until it's resolved. Back up all data before making any changes.
    Step 1
    Follow the directions in this support article.
    Step 2
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select the iCloud keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain.
    Step 3
    Open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.
    Step 4
    Open the Keychains folder as in Step 1. There should be a file in that folder with the name "login.keychain". If there is also a file iwith the name "login_renamed_1.keychain", then please do as follows:
    ☞ Rename login.keychain to "login-old.keychain".
    ☞ Rename login_renamed_1.keychain to "login.keychain".
    You can then close the folder. 
    Delete the login keychain from the keychain list in Keychain Access. Choose
               Delete References
    when prompted, not Delete References & Files.
    Select
              File ▹ Add Keychain...
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file now named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred. 
    Run Keychain First Aid again. Quit Keychain Access.

Maybe you are looking for