Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I extract and view cookies from Android Chrome?

Is there any way for me to get and read cookies from my Android Chrome browser?

Thank you.

like image 634
Cris Lee Avatar asked Mar 19 '16 11:03

Cris Lee


People also ask

How do I export cookies from Chrome Android?

Navigate to the cookies folder and copy them to a USB or SD card that your computer can read and then place them into the browser cookie files on the computer by going through the AppData folder to the browser files, and eventually finding the cookie folder and copying the files over.

Where are cookies stored on Android?

You can find and tap “clear browsing data” at the top of the “privacy and security” page. Select “cookies and site data” and set the time range. Tap the data categories you want to delete; you can find more in the “advanced” section. Tap “clear data” to remove the cookies from your device.

How do I view Chrome cookie data?

To view all the cookies stored in Chrome: Click on the three dots at the top right corner and click Settings. Select Privacy and security and click Cookies and other site data. Click See all cookies and site data.


1 Answers

You can view cookies in Chrome on Android if you connect your Android device to a PC/Mac/laptop via USB. No rooting required. The laptop needs to have Chrome installed. You can then inspect the content on your Android device in Chrome on your laptop by visiting chrome://inspect/#devices

There's a little more to it than that, you need to enable developer mode on your Android device:

Settings -> About Phone -> Build number. Tap build number 7 times.

Then under Settings you will see a new item - "Developer Options".

Within Developer Options enable USB debugging.

If you don't see your connected device listed on your laptop Chrome URL: chrome://inspect/#devices then you might need to install a USB driver. Or disconnect and reconnect device after installing USB driver.

Details here - https://developer.chrome.com/devtools/docs/remote-debugging

Once you can inspect content you can get cookies from the network tab in the same way as you would in Chrome on your laptop.

Note : This doesn't work in inCognitoMode

like image 181
Ewen Pearson Avatar answered Oct 09 '22 03:10

Ewen Pearson