Is there STILL no way to clear Safari history on exit?

Discussion in 'Mac Apps and Mac App Store' started by imahawki, Aug 7, 2011.

  1. imahawki macrumors 6502a

    Joined:
    Apr 26, 2011
    #1
    I've never really cared before because Safari didn't really have any compelling features but with some of the new reading modes and saving articles for later, I want to try it. But I have firefox setup to clear my history on exit. I want to do the same with Safari This seems so simple to implement. What gives!!!!?
     
  2. Gregg2 macrumors 603

    Joined:
    May 22, 2008
    Location:
    Milwaukee, WI
    #2
    Safari is for people who aren't paranoid about leaving web tracks. ;)
     
  3. munkery macrumors 68020

    munkery

    Joined:
    Dec 18, 2006
  4. imahawki thread starter macrumors 6502a

    Joined:
    Apr 26, 2011
    #4
    Private browsing doesn't work because that rejects cookies. As far as resetting, I know how to clear it etc. I don't want to manually do it. Someone should write an add-on.
     
  5. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #5
    Code:
    tell application "Safari" to activate
    tell application "System Events"
    	tell application process "Safari"
    		click menu item "Reset Safari…" of menu "Safari" of menu bar 1
    		try
    			click button "Reset" of window 1
    		end try
    	end tell
    end tell
    quit application "Safari"
    Go to the Reset Safari panel and check the options you want, then use Alfred (or another launcher) to run this Applescript to quit Safari. Done.
     

Share This Page