Cookie, Safari and El Capitan



  • currently it is *not possible to remove Safari cookies whilst Safari is open. Apple has removed official API’s to access the cookie data in El Capitan.
    Cookie now needs to manually read/write to the binaryCookies file.
    The downside to this, is that the file is encrypted has a checksum, and because (Cookie doesn’t have the encryption key checksum) editing the file causes data loss if Safari is open….

    I am working to find the encryption key checksum….

    This only affects COOKIES, NOT databases/Flash/Silverlight etc...



  • I'm running the latest App Store version of Cookie on El Capitan and I am seeing random cookie deletions like described in the beta thread. This is not from me doing anything with Cookie while Safari is running. Cookie twice now has just randomly gone through and deleted about 2/3 of my whitelisted cookies. Both times I went back to all the sites to get new cookies, and Cookie just deleted them again.

    For now anyway, Cookie is unusable. Anything I can do to help troubleshoot, please let me know. Thanks

    ==

    Edit: A little more tinkering and I discovered the random cookie deletion occurs because I had Cookie set to delete junk when I quit Safari. If I disable that option and quit Safari, then manually delete everything from the Cookies menu, things seems to work well. So it appears having delete on browser quit selected in Cookie corrupts the Safari cookies database.



  • Never realized how naked I felt today wo Cookie till I quit Safari and it worked. Continue to love this product.



  • Apple has removed official API’s to access the cookie data in El Capitan.

    Why in the world would Apple do this??? It makes no sense.
    Are they trying to appease the big data trackers?



  • iOS 9 - Now with official content blocking support. Yay!
    OS X - Now you can't delete cookies when Safari is open. Boo!



  • Ok, I'll add a slight delay to the safari removal, to give safari time to write out what it has in cache.

    Thanks for the feedback

    I'm running the latest App Store version of Cookie on El Capitan and I am seeing random cookie deletions like described in the beta thread. This is not from me doing anything with Cookie while Safari is running. Cookie twice now has just randomly gone through and deleted about 2/3 of my whitelisted cookies. Both times I went back to all the sites to get new cookies, and Cookie just deleted them again.

    For now anyway, Cookie is unusable. Anything I can do to help troubleshoot, please let me know. Thanks

    ==

    Edit: A little more tinkering and I discovered the random cookie deletion occurs because I had Cookie set to delete junk when I quit Safari. If I disable that option and quit Safari, then manually delete everything from the Cookies menu, things seems to work well. So it appears having delete on browser quit selected in Cookie corrupts the Safari cookies database.
    [/quote]



  • Cookie data is now sandboxed just like in iOS...

    [quote='Timmy' pid='771' dateline='1443730716']
    [quote='mrqwirk' pid='766' dateline='1443658422']
    Apple has removed official API’s to access the cookie data in El Capitan.
    [/quote]

    Why in the world would Apple do this??? It makes no sense.
    Are they trying to appease the big data trackers?
    [/quote]



  • Well thanks for explaining this. I am manually closing Safari every few minute or so and effectively allowing Cookie to clear the trackers that way. I am not allowing the trackers to get any data.



  • I have just uploaded v4.5 to Apple for review. I have Live removal working once again.
    🙂



  • So will it work fine with El Capitan? I had the plugin in Safari but it doesn't work any longer, so I will buy Cookie at the App Store if it works....



  • Good Morning Russell, As you know from a different thread (http://sweetpproductions.com/support/showthread.php?tid=302), I found a problem with Cookie 4.4.1, 4.4.1.1 and 4.4.2 where with Safari quit and Cookie running the machine does not Shutdown correctly. Upon executing the Shutdown command the machine goes through what looks like a routine shutdown but then immediately restarts followed by a warning window saying the machine was improperly shutdown. With Cookie not running the machine shuts down normally and does not restart. Can you confirm this does not happen on your machine with Cookie 4.5? I would be happy to test if you want.



  • Cookie v4.4.2

    Cookie no longer appears to delete Non-Favorite & Tracking Cookies using the "Remove All Unwanted Safari Data" menu item. I now have to remove each of the above listed items individually. Hope this is something that is addressed in v4.5.

    Thanks for any/all help. Love Cookie. Sorry that Apple is making all of us nuts!



  • v4.5 was just released and appears to address all of my issues. I'm happy! Thank you, Russell!



  • So far, so good — 4.5 is working under ElCap. I have not seen the corruption issue so far.

    Nice Work!



  • Cookie 4.5 working well for me also in El Capitan. Thanks for the update.

    I do see an issue in Console log though. Every time Cookie refreshes itself (every few seconds) it fills the log with a couple hundred new entries. Just in the last few minutes I have stacked up thousands of these entires completely pushing out any other normal log entries.

    You can see a screenshot below.



  • I have a different issue. When I upgraded to El Capitan, all continues to work as had in the past as far as saving the cookies I wanted. Since I recently upgraded Cookie, I now need to re-login to most every site. It is not keeping the cookies in Safari it seems as it doesn't remember I was logged in just minutes ago.
    Any thoughts on troubleshooting steps that should be done?
    Thanks



  • I'm having the same issue as schnide with the newest version 4.5. Passwords are not being retained for most sites although a couple are retained using Safari.



  • I'm having the same issue as schnide with the newest version 4.5. Passwords are not being retained for most sites although a couple are retained using Safari.

    I am also having the same issue with 4.5 and 10.11.1. Cookie data may be saved, but it's not working. None of my automatic logins work. Hope this can be fixed quickly.



  • I have a different issue. When I upgraded to El Capitan, all continues to work as had in the past as far as saving the cookies I wanted. Since I recently upgraded Cookie, I now need to re-login to most every site. It is not keeping the cookies in Safari it seems as it doesn't remember I was logged in just minutes ago.
    Any thoughts on troubleshooting steps that should be done?
    Thanks

    After more usage today, I am seeing the same thing. What is odd though is from looking at Cookie it does not appear the actual cookies for the sites are being removed, so I don't understand why this is happening.

    With the earlier El Capitan bug, the cookies were getting corrupted and removed, so having to reenter the login was expected. But now the cookies are still there, yet I still have to login again.

    Related question for Russell... this would all be less annoying if I could just restore my cookies from backup. I see where the binary file is in ~/Library/Cookies but a restore does not appear to work. I see web info talking about shutting down cookied to allow a cookie file restore in Yosemite, but El Capitan does not appear to have that process.

    Have you found a way to restore the Cookies.binarycookies file in El Capitan?



  • I'm having the same issue as above since updating.

    Favourite site cookies are not keeping me logged in like they were before the update. Need to log in every time I start Safari.