13 Replies Latest reply: Mar 25, 2013 7:16 PM by mazkoon
mazkoon Level 1 (0 points)

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)
  • Csound1 Level 8 (46,982 points)

    Safari>Preferences>Privacy>Remove all Website Data:

     

    Screen Shot 2013-03-23 at 12.47.09 PM.png

  • mazkoon Level 1 (0 points)

    there is that way, but all of the cookies come back, so im trying to delete them from the localstorage...but i cant seem to do it,

  • Csound1 Level 8 (46,982 points)

    Cookies always come back, if you don't want that don't accept them.

  • softwater Level 5 (5,370 points)

    Change that setting to

     

    'Block cookies Always'

  • mazkoon Level 1 (0 points)

    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...

  • Csound1 Level 8 (46,982 points)

    Try booting in Safe Mode.

  • Eric Root Level 9 (50,458 points)

    Is Safari open?

  • William H. Magill1 Level 2 (200 points)

    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.

  • mazkoon Level 1 (0 points)

    thank you for the info, but as i had said before, whether i put block cookies always, or block cookis never, the "persistant" ones always come back, actually, i think they all come back given enough time, but the answer to my quwstion has yet to be answered, from local storage, how can i delete them?

  • Eric Root Level 9 (50,458 points)

    Try moving them to the trash, then quit Safari, and then try to empty the trash.

     

    Or try command empty trash.

     

    Trash – Can’t Empty or Move File To Trash

     

    Trash FAQ       

                                 

    Trash – Empty When File is Locked or in Use

  • William H. Magill1 Level 2 (200 points)

    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.

  • Martin Pace Level 5 (5,110 points)

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

     

    Screen Shot 2013-03-25 at 4.21.20 PM.png

    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.

  • mazkoon Level 1 (0 points)

    thanks guys, really appreciate the, help, helped me alot