Chrome – How to view, add or edit Cookies in Google Chrome

cookiesgoogle-chromegoogle-chrome-extensions

I wish to view, add and edit the cookies of my google chrome. Can anyone suggest to me a way to do it?

Best Answer

You can go to the Developer Tools (Ctrl-Shift-J or Tools -> Developer Tools) -> Console and the you can enter javascript command:

document.cookie="keyofcookie=valueofcookie"

You can replace or add new cookies with this technique.

It is possible to set multiple cookie options, i.e.

document.cookie="username=John Doe; expires=Thu, 18 Dec 2013 12:00:00 UTC; path=/";
Related Question