16

I could not edit value of cookies.

How can I edit my cookies in Safari Web Inspector?

  • The first senate implies you tried - what did you try ?and what sort of edit are you trying to do? – Mark Jan 23 '15 at 18:11
9

Entries in this table are read-only; if you want to edit a cookie’s value, you need to do so with the document.cookie object in JavaScript (you can use the Quick Console at the bottom of the content browser to modify the cookie and see the results update in real time). Pressing the Delete key while a cookie is selected deletes the cookie.

please reference Safari Web Inspector Guide

  • What if you want to test for local mobile development? Then this doesn't work. – Alex Cory Apr 3 '17 at 19:59
  • How to edit httpOnly cookies? – Artem Sep 28 '17 at 9:58
  • 10
    in dev console do document.cookie = "key=value"; then refresh the cookies. – Adam Johns Dec 15 '17 at 23:24
0

Unfortunately you can't edit cookies in the default browser safari in Mac. Try using third-party plugins like safaricookiecutter or use firefox web browser and use firebug.

  • SafariCookieCutter has been discontinued – Ricardo Martins Jan 29 '16 at 17:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .