简体   繁体   中英

IE 11 cookies in Developer tools

Is there an equivalent to Chrome's cookie view in IE 11 ?

Chrome's cookie viewer: Resources->Cookies. Closest IE11 has is this : Network -> Go to url -> click on details - > Cookies.

IE 11 Wiki has this under removed features: "Ability to view all cookies at once via Developer Tools".

There currently is not a dedicated Cookie viewer in the IE11 F12 Developer tools.

There are two possible workarounds:

  1. Inspecting cookies within the "Detailed view" in the Network tab
  2. Running 'document.cookie' in the Javascript console

As Eric says it, there's not way to do this in IE11.

I have been troubling with this for some time, but I finally had to see it as a lost course, and just navigate to the files manually.

But where are the files? That depends on a lot of things, I have found them these places on different machines:

In the the Internet Explorer cache.

This can be done via "run" ( Windows + r ) and then typing in shell:cache or by navigating to it through the internet options in IE11 ( AskLeo has a fine guide to this , I'm not affiliated in any way).

  • Click on the gear icon, then Internet options.
  • In the General tab, underneath “Browsing history”, click on Settings.
  • In the resulting “Website Data” dialog, click on View files.
  • This will open the folder we're interested in: your Internet Explorer cache.

Make a search for "cookie" to see the cookies only

In the Cookies folder

Sometimes you can also find the cookies here (Win 7 & 8)

%APPDATA%\\Microsoft\\Windows\\Cookies

%APPDATA%\\Microsoft\\Windows\\Cookies\\Low

Or here (Win 10)

shell:cookies

shell:cookies\\low

%userprofile%\\AppData\\Local\\Microsoft\\Windows\\INetCookies

%userprofile%\\AppData\\Local\\Microsoft\\Windows\\INetCookies\\Low

You can to use console of IE to edit any value of cookie

Now first hit below commond

document.cookie

It will return you some key values. Now use below command to edit or create new key values

document.cookie="YOURKEY=YOURVALUE"

在此输入图像描述

Hope it will help you :)

Note :- It will works, if the cookie is marked as HTTPOnly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM