Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Import cookies from Chrome ?

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Import cookies from Chrome ?

Post by thefunkyjoint »

Is there a way to import the cookies currently used by Google Chrome (if installed on the machine) to our app using CEF4Delphi ? This would be very convenient as when the person opened our app, it will be already logged on the same sites Chrome currently is.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Import cookies from Chrome ?

Post by salvadordf »

I've never done that but there are some third party applications that read Chrome cookies.

Search for the algorithm and keys that those applications use to decrypt the cookies, then you should be able to use the code in CookieVisitor to add those cookies manually.
Post Reply