Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

hello, im wondering how to delete cookies and stuff from local storage safari 6.

i go to finder, press alt, and go to library, then i scroll down and click safari>localstorage. i am trying to delete the cookies from it and everytime i place it in the trash it says "The operation can’t be completed because the item is in use". some please help

OS X Mountain Lion (10.8.2)

Posted on Mar 23, 2013 10:22 AM

Reply
13 replies

Mar 24, 2013 10:05 AM in response to softwater

changing the settings to always doesnt do anything, the cookies come back, but i have done a little research and i have found you can delete the more permanent ones by going to the localstorage and trashing them. but whenever i try to empty trash it says "The operation can’t be completed because the item is in use". im wondering if there is a way to stop them from being in use, i no there is im not sure how...suggestions...

Mar 24, 2013 10:50 AM in response to mazkoon

You may be encountering "Persistant Cookies." -- One way to verify the existence of these ...


In Safari, as mentioned above, open Prefernces/Privacy and click on the "Details Button."


With that window open, click on "Remove all Website Data."


You will probably see "almost all" of your cookies disappear for a brief moment, only to see them return again as you watch!... These are persistant cookies, and they come from many different sources.


Cookies have one purpose only -- to TRACK what you are doing.


There is a LOT of clap-trap on the web tying to make you believe that 1) cookies are benign and 2) "persistant" cookies enhance your "web browsing experience." Both statemests are boldface lies. The purpose of these, especially persistant cookies, is to make THE VENDOR's life better -- both in tracking your purchase history and therfore recommending things that you should buy "on this visti to their site." And in determining what Ads to display to you.


At one time, "persistant" cookies simply had long TTL (Time to Live) values. However, to day, "Persistant Cookies" are written with snippits of (typically javascript) which run any time you open your browser and check to see if "their" cookie is present. If it has been reased -- it is immediately re-created.


Persistant cookies are stored in multiple locations on your computer -- NOT only in your browser's cache. Flash is notorious for these, as is javascript.


The Wikipedia article on "HTTP Cookie" covers a LOT of information aout the issue.


As mentioned, the only protection is : "Block Cookies Always." but that WILL impact how you use the web.


This topic is extensive and non-trivial.

Mar 25, 2013 3:26 PM in response to mazkoon

This is the problem I was aluding to... it's not easy to get rid of them, and almost impossible to preven them from returning.... unless, you remove all traces of Flash and Java from your system (burn a few candles, sacrifice a few small animals, and, most especially -- STOP visiting "those sites!"


It takes EXTREME measures to delete everything and will require you to "reconfigure" many things!


This is one article on the problem... "evercookies" ... http://samy.pl/evercookie/ as you can read in that article there are "a lot" of locations where the cookie is hidden to allow it to be "resurrected" on demand.

W A R N I N G -- all of the links on that page have been hijacked. You cannot follow them.You are redirected to twitter.


These links are visible if you view the source via the developer drop-down in safari.


- Standard <A href="http://en.wikipedia.org/wiki/HTTP_cookie">HTTP Cookies</a>

- <a href="http://en.wikipedia.org/wiki/Local_Shared_Object">Local Shared Objects</a> (Flash Cookies)

- Silverlight <a href="http://www.silverlight.net/learn/quickstarts/isolatedstorage/">Isolated Storage</a>

- Storing cookies in RGB values of auto-generated, force-cached

PNGs using HTML5 Canvas tag to read pixels (cookies) back out

- Storing cookies in <a href="http://samy.pl/csshack/">Web History</a>

- Storing cookies in HTTP <a href="http://en.wikipedia.org/wiki/HTTP_ETag">ETags</a>

- Storing cookies in <a href="http://en.wikipedia.org/wiki/Web_cache">Web cache</a>

- <a href="http://en.wikipedia.org/wiki/HTTP_cookie#window.name">window.name</a> caching

- Internet Explorer <a href="http://msdn.microsoft.com/en-us/library/ms531424(VS.85).aspx">userData</a> storage

- HTML5 <a href="http://dev.w3.org/html5/webstorage/#the-sessionstorage-attribute">Session Storage</a>

- HTML5 <a href="http://dev.w3.org/html5/webstorage/#dom-localstorage">Local Storage</a>

- HTML5 <a href="https://developer.mozilla.org/en/dom/storage#globalStorage">Global Storage</a>

- HTML5 <a href="http://dev.w3.org/html5/webdatabase/">Database Storage</a> via SQLite


You can clear Flash cookies via the Flash Plugin on System Preferences. -- the advanced tab: Browsing and data settings.


In Safari, RESET the browser... selecting all options; quit Safari, reboot.


Close all applications.

Delete these folders one at a time, REBOOTING, then delete the trash.

Then check to see if your cookies are gone.


Delete the folders: ~/Library/Caches

~/Library/Application Support/Firefox

~/Library/Application Support/google

By this time, you should have successfully gotten rid of any cookie problem you might have... but not guaranteed.


~/Library/Safari

~/Library/Cookies

~/Library/Saved Application State


Again, these are exterem actions, they WILL impact such things as Facebook, Twitter, Google and any number of Gaming situations -- especially anything using Flash (Like all Zynga's games); other sites which also store "helpful" information cookies, like banking and shopping sites -- Amazon, eBay, etc.

Mar 25, 2013 4:25 PM in response to mazkoon

If you have Flash installed make sure you go to their panel in System Preferences... and set it to block Flash cookies:


User uploaded file

You may have to go to the Adobe Flash Player settings web site to delete previously stored data. The image in the upper right part of the website is interactive, the tabs at the top can be used to switch between various features of Adobe Flash.

hello, im wondering how to delete cookies and stuff from local storage safari 6.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.