Tip Details Add a Related Tip

Rate as: Positive Negative

Set the history lifetime in Safari

In Safari items in the history are maintained for 7 days. While other browsers like Firefox let you set this value as a preference, Safari has no obvious way to change this value.

But of course just cause it's not obvious doesn't mean it can't be done :)

To change the history lifetime in Safari, open a terminal window put in this command:

defaults write com.apple.Safari HistoryAgeInDaysLimit 30

The number on the end, 30 in the example, is the number of days that Safari will maintain a site in the history. Set this value to whatever you want.
Rating: no ratings, 0 total Votes
Categories: Safari Mac customization browsers
Added: on Mar 07, 2009 at 2:49 pm
Added By: an anonymous user
Searches: safari browser history mac set

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Disable Safari warning when closing a window with a form

100% positive, 0 comments
– Tip added by an anonymous user on Dec 21, 2007 at 9:18 am

Safari private browsing is not private

Categories: Safari Privacy browsers Mac
100% positive, 0 comments
– Tip added by an anonymous user on Mar 06, 2009 at 7:33 am

Opening new tabs in Safari 3.1

100% positive, 0 comments
– Tip added by an anonymous user on Mar 18, 2008 at 7:52 am

Forcing new windows to open in tabs instead in Safari

100% positive, 0 comments
– Tip added by an anonymous user on Jul 20, 2009 at 11:03 am

Showing Safari 4 bookmarks without Cover Flow

66% positive, 3 comments - last added on Aug 14, 2009 at 7:15 am
– Tip added by an anonymous user on Mar 09, 2009 at 4:32 pm

web development debugging in Safari

Categories: browsers safari OS X Mac
100% positive, 0 comments
– Tip added by ang on Apr 16, 2007 at 9:23 pm

Set the Topsites page as your homepage in Safari 4

100% positive, 3 comments - last added on Jun 17, 2009 at 1:55 pm
– Tip added by an anonymous user on Mar 25, 2009 at 10:28 am

Change tab location in Safari 4

100% positive, 0 comments
– Tip added by an anonymous user on Feb 26, 2009 at 6:52 am

Setting Firefox as the default browser on a Mac

Categories: Mac browsers firefox safari
100% positive, 0 comments
– Tip added by an anonymous user on May 30, 2007 at 2:54 pm

Safari search history

no ratings, 0 comments
– Tip added by an anonymous user on Oct 08, 2008 at 2:50 pm

Change file opening behavior in Coda

100% positive, 0 comments
– Tip added by an anonymous user on Nov 03, 2009 at 8:09 am

Disable page transitions in IE8

100% positive, 0 comments
– Tip added by an anonymous user on Oct 26, 2009 at 6:48 pm

Show the size columns in finder search results

50% positive, 1 comment - last added 6 days, 5 hours ago
– Tip added by an anonymous user on Oct 25, 2009 at 6:34 am

Organizing mailboxes in Snow Leopard

Categories: Mac Snow Leopard Mac
100% positive, 0 comments
– Tip added by an anonymous user on Oct 15, 2009 at 9:03 am

Put the date in the Snow Leopard menu bar

100% positive, 0 comments
– Tip added by an anonymous user on Sep 30, 2009 at 8:13 am

Getting rid of the sync icon in the menu bar

100% positive, 0 comments
– Tip added by an anonymous user on Sep 08, 2009 at 6:42 am

Change the Expose window higlight color

no ratings, 0 comments
– Tip added by an anonymous user on Nov 06, 2009 at 6:21 am

Turn on visual tab previews in Firefox 3.6

no ratings, 0 comments
– Tip added by an anonymous user on Nov 05, 2009 at 7:10 am

Get dictionary lookup to open in a single window

no ratings, 0 comments
– Tip added by an anonymous user on Oct 17, 2009 at 7:31 am

Changing the default download folder for Opera

no ratings, 0 comments
– Tip added by an anonymous user on Oct 09, 2009 at 6:15 pm