Cookie 5 Scripts



  • For some time I've been unsure whether Cookie (app store version) is succesfully deleting cookies and clearing caches, so I've been trying to use them by pasting them in Terminal and then check Safari -> prefs  -> privacy -> manage website data to see if they've gone

    I'm running as user and cookie has permissions System rw, wheel read only, everyone read only. The scripts are in ~/library/application scripts/com.sweetpproductions.Cookie5

    The machine is running Sierra 10.12.6: Safari 11.0.2 (12604.4.7.1.6)

    The script pasted in terminal is: 
    #!/bin/sh
    /usr/bin/killall -KILL nsurlstoraged

    Google and some other cookies remain (though not listed in Cookie) although only I only have a current connection to the Sweetpproduction site.

    What's going on?



  • are the cookies listed cache cookies? or session cookies, or even local storage cookies.
    As Cookie doesn't list cache or session cookies. localStorage are removed, but Safari won't reflect this until it has been restarted (the same is true of cache cookies)

    session cookies are not "seen" at all by cookie, and can only be cleared by restarting Safari.



  • Thank you for the response.

    I'm not sure which they are but - most likely cached cookies. Since a quit and restart Safari "apparently" eliminates all those cookies that are not set as favourites in Cookie, it sounds as though that is what is happening.  Cookie does delete them but it's not reflected in Safari until it's done a restart.  If that is the case then I think Cookie is probably working as intended.

    In the past Cookie would show in red those cookies marked as tracking ones.  Now it simply lists that there are X number tracking cookies.  It would be good if the old behaviour could return.