How do I extract and view cookies from Android Chrome?

Viewed 70547

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

Thank you.

4 Answers

Follow these steps

1: Go the web page that you want the cookies from.

2: In the URL type the following:

javascript:alert(document.cookie);

Then press ENTER

Just type, DO not PASTE!

Without an external PC and a cable, but on a rooted device, it is possible to access the cookies database by a tool like SQLight Editor by opening this file:

/data/data/com.android.chrome/app_chrome/Default/Cookies

You could try using the the net-export page chrome://net-export/ . I guess that should work, or at least you can use it to make a .json file, viewing it's contents however, I don't know how to do that

Related