My GF keeps clearing the history and I don't want her to clear Safari's history. I think she is up to no good. Also, any way to restore the history once it has been cleared? Thanks!
If you don't trust her, just dump her.
Trust me; I am looking for a reason.
Or get a different browser...
Quick and dirty approach - write a little bash script to copy the relevant history file(s) to some other place and set launchd to run it every minute (or whatever) when the computer's going to be used.
Open Terminal and type this in:
open -a TextWrangler /Applications/Safari.app/Contents/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
then search for
<key>NSSource</key>
<dict>
<key>CF$UID</key>
<integer>115</integer>
</dict>
Delete it. Have fun.
Nosrac