TechJunkie is a BOX20 Media Company

Home PC Windows How to Clear History But Not Website Data in Safari for OS X Yosemite

How to Clear History But Not Website Data in Safari for OS X Yosemite

How to Clear History But Not Website Data in Safari for OS X Yosemite

With Safari 8, introduced with OS X Yosemite, Apple made a quiet change that is causing a bit of frustration for users. The latest version of Apple’s Web browser now clears all website data when a user elects to clear their browser history. In previous versions of Safari, history and website data — items such as cache and cookies — were cleared separately via two different methods. Apple’s new approach of clearing both history and website data together is an issue because some users wish to clear their browser history but maintain the convenience of stored website data. There’s no official solution to this frustrating change, but there is a workaround. Here’s how to clear history but not website data in Safari 8 in OS X Yosemite.
safari-history-menu
First, let’s briefly go over what happens by default in Safari 8. Longtime Safari users are used to going to History > Clear History in the Safari menu bar, and in previous versions of the browser doing so indeed cleared just the browser history. Now, however, “Clear History” has been replaced by “Clear History and Website Data.”
safari-clear-history-website-data
Sure enough, selecting that option from the Safari 8 menu bar warns you that all website data will be cleared for the selected time period. This means that users looking to remove just their browsing history will also lose saved passwords, auto-login settings, faster page loads on return visits, and all the other advantages of caching and cookies. In fact, many users accustomed to clearing just their browser history in previous versions of Safari first became aware of this change in Safari 8 when they realized that they had to log in again on their favorite websites (because the associated cookie was now gone) after clearing what they thought was only browser history.

Related: Did you know that Safari 8 now syncs history with Mobile Safari in iOS 8? Read more on how this works and what it means for both privacy and convenience.

Unfortunately, there’s no setting (yet) to tell Safari to just clear history when using the method above, but there is a workaround. Head to History > Show History in the Safari menu bar. Alternatively, you can use the default shortcut Option-Command-2 to take you to the same place.
safari-view-history
Here, you’ll see a list of all of your browser history organized by date, with the most recently visited websites at the top. Ignore that “Clear History” button at the bottom of the window, because that works just like the “Clear History and Website Data” function mentioned earlier. Instead, press Command-A to select all of the entries, and just hit Delete on your keyboard. This manually selects and deletes all of your browser history, but leaves website data intact, just like the old “Clear History” function in earlier versions of Safari.
safari-clear-history
If you’d prefer to selectively clear just some of your browser history, the Show History window allows for that, too. In my screenshots above, for example, the most recent results show some Amazon shopping as I searched for a Christmas gift for my wife. I hit the jackpot when I found this lovely hamburger sweatshirt, and I want to hide that browser history so that she doesn’t stumble upon it and ruin the surprise while using the shared family Mac.
So, instead of using Command-A to select all, I’ll just hold the Command key and click on each history entry I wish to delete (or hold Shift while clicking the first and last in a series of contiguous items). When they’re all selected, I can then press Delete on my keyboard to delete only the desired history items.
It’s easy to understand why Apple made this change — user privacy is a key focus for the company and the steps to remove website data in the previous versions of the browser weren’t as obvious to new or inexperienced users — but we wish Apple would offer users an option for how they would like the Clear History menu bar feature to function in Safari 8 and beyond.
Until that option arrives, users who want to clear history but keep website data in Safari will have to rely on more active use of private browsing, clearing their data more frequently, or using the manual process outlined above.

How to Opt Out of OS X Pre-Release Software Updates

Read Next 

7 thoughts on “How to Clear History But Not Website Data in Safari for OS X Yosemite”

barry blackwood says:
G0 to Safari. In the dropdown, hit the option key, that will change “clear history” to “Clear history and keep website data.” Simple.
barry blackwood says:
If you go to Safari and use the option key, it will change clear history to clear history and keep website data. Problem solved.
West Final says:
Thank you for this information. Clear and concise.
Miss Anthropy says:
I just “upgraded” to Yosemite, and I am pissed. Things that used to be easy now require a Google search to find a workaround, and like this one, they’re more complicated than they need to be. For instance, I had to turn on the “Develop” menu to see images in Wikipedia, but first I had to do a Google search to learn how to do that.
What was wrong with the old “Reset Safari,” that let you clear history and/or cookies and/or other information, with check boxes for each type of info? It was easy, and an explanatory popup on first use would have taken care of this particular issue.
kimmie0 says:
I detest the new Safari… two weeks in and UI is still clumsy… I don’t like any of the 5 browsers I use.
Scritti Politti says:
Another idiotic UI regression from Apple.
Here’s another Safari UI element they’ve broken: You can’t drag a URL from the address bar into the bookmarks list anymore.
Chris says:
Also, Safari history separates the history by date so you can just click on a certain date heading and delete that date’s history
TekRevue says:
Great point, Chris.
Duante Amorculo says:
i have an old version, so clearing history doesn’t clear website data in mac os x 10.5.8? how can you clear ALL infor (history and website data) in old mac?

Leave a Reply

Your email address will not be published. Required fields are marked *


Jim Tanous

Dec 10, 2014

676 Articles Published

More