Skip navigation
This discussion is archived

Clear Google search history from Safari Toolbar (v.4.0.3 and up)

1527 Views 0 Replies Latest reply: Oct 19, 2009 11:51 PM by Celia Wessen RSS
Celia Wessen Level 4 Level 4 (1,155 points)
Currently Being Moderated
Oct 19, 2009 11:51 PM
How to clear your search history. TEDIOUS but works.

*Delete Google results pages from the history*

In Safari 4.0.3 and up, you may now search your history. Search for the URL string www.google.com/search? and delete the records that match it.

*Clear the search strings from the toolbar*

Quit Safari then from the Terminal, run this command:

defaults delete com.apple.safari RecentSearchStrings

When you start Safari again, the search history should be empty.

Somebody could probably build a shell script that searches the History.plist XML file and deletes the <dict> sections AND resets the Safari plist at the same time. I'm not that good with string manipulation, so I'm hoping somebody with experience could pick this up. Then that shell script could be made into an AppleScript or set up with Automator. Wishful thinking?
Extended Keyboard Server, Mac OS X (10.5.6), Sure, blame the computer with ONE BUTTON!

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.