Benches Mail, Safari and messaging

14

Automatically Clear Safari Browsing History on Quit

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

How can I set it so that; Safari automatically clears my browsing history on quit. I know this is possible with Firefox, but I would like to do so with Safari as well.

I am not very good with computers, so the easiest way would be well appreciated.

Thanks,

shivsensarma

14 replies

Sign in or join Beachball Help to reply.

  1. 0

    iBod

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If you wish to clear History upon closing to prevent others seeing where you have been, then you may want to give the Safari menu -> Private Browsing... a try.

    User uploaded file

  2. 0

    andyBall_uk

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    I have just played around in Terminal & set the webkit history limit to err zero - This seems to allow history to build up during the session, but after quitting, the history is blank. Perhaps that'll meet your needs?.

    to do this, in Terminal I entered
    defaults write com.apple.safari WebKitHistoryAgeInDaysLimit 0

    Naturally(!) I haven't tested thoroughly... so beware a bit eh.

    to reset to normal, just enter the same command but with a number 1 to 5, as desired instead of the zero.

    Umm, it's also possible that history might do a Cinderalla's carriage at midnight 🙂

  3. 0

    Barry Hemphill

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hello shiv:

    I hunted around, but there does not seem to be a +'clear upon closing'+ option. I even looked in Cocktail, but there was no GUI there that would do what you wish.

    Barry

  4. 0

    QuickTimeKirk

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yep. Best method.

    You don't need to "clear" what is never created.

  5. 0

    andyBall_uk

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi

    I tested on Tiger 10.4.10 with Safari 2.0.4 - it's possible that Safari 3.0.x behaves differently (?). I found that history worked as normal, but was totally empty after quitting Safari & restarting; if yours behaved differently, chances are that this err hack won't work for safari 3

  6. 0

    Zerimar

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Well the easiest way is just to clear history before you quit, you can also go to preferences and under the general tab set clear history to 1 day.

  7. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes I know that I can clear the history that way. After a while, it becomes a little tedious. Is there any way to clear history on every quit; like in Firefox?

    Thanks,

    shivsensarma

  8. 0

    Zerimar

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    To answer your question, No. The closes is to set to clear history after 1 day.

  9. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Okay thank you everyone. I noticed that Private Browsing goes off on every quit. Is there a way to keep it on permanently?

    Thanks,

    shivsensarma

  10. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks Andy,

    I don't know if it worked as I still have the history on Safari. I will check to see if it is cleared tomorrow. Thanks again,

    shivsensarma

  11. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yeah I don't think it will work as I'm running Leopard as well. Thanks for trying though.

    shivsensarma

  12. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    If anybody has any other options or methods please let me know ASAP.

    Thanks,

    shivsensarma

  13. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi Andy,

    Unfortunately it didn't work. It just saved everything up until midnight then cleared. But I had already set the history to 1 day.

    Thanks,

    shivsensarma

  14. 0

    shivsensarma

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thanks again