IE 11 cookies in Developer tools

2020-08-09 05:06发布

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".

3条回答
干净又极端
2楼-- · 2020-08-09 06:03

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

查看更多
兄弟一词,经得起流年.
3楼-- · 2020-08-09 06:06

You can 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"

enter image description here

Hope it will help you :)

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

查看更多
小情绪 Triste *
4楼-- · 2020-08-09 06:11

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
查看更多
登录 后发表回答