Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy cookies in Google Chrome?

Is there any way I can copy/edit the cookies in Chrome Developer tools? Or do I need to install a custom add-on for this?

like image 634
Imran Qadir Baksh - Baloch Avatar asked Oct 16 '12 06:10

Imran Qadir Baksh - Baloch


People also ask

How do I transfer cookies from one browser to another?

Copy Cookies. Copy all cookies used in the current tab to the clipboard. This extension can be called by the shortcut key "Ctrl+Shift+K".

Can cookies be copied?

Yes it is possible. how hard it would be? Depends on what mechanism is used by Gmail to identify if it is the same browser.


2 Answers

I think I have found something. I can press Ctrl+A and Drag & Drop the values in a TextBox and then copy it from there.

As pointed by @jmccure,

Ctrl+A, hold Shift and right click and copy.

Update: Chrome 58 added a support to edit cookies

like image 112
Imran Qadir Baksh - Baloch Avatar answered Sep 22 '22 13:09

Imran Qadir Baksh - Baloch


Cross-browser Solution:

  1. Hit F12 or Right-click page and Inspect to open the Developer Tools
  2. Click the Application Tab (which used to be called Resources)
  3. Open Cookies on the left, select your site/domain
  4. Double-click cookie column Value
  5. CTRL/Command + C or Right-click and select Copy
like image 35
gdibble Avatar answered Sep 19 '22 13:09

gdibble