Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to sanitize Safari' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to sanitize Safari
Authored by: Mason Rove on Jun 22, '10 06:01:29AM
You can reset Safari using the following AppleScript (GUI scripting must be enabled):
tell application "System Events"
	tell process "Safari"
		set frontmost to true
		click menu item "Reset Safari…" of menu 1 of menu bar item "Safari" of menu bar 1
		--delay 1 --may be uncommented if needed
		click button "Reset" of window 1
	end tell
end tell


[ Reply to This | # ]