X
Tryk her for at gå til webstedets mobilversion.

Supportforum

Why the deleted cookies from document.cookie continue to be displayed in the Storage Inspector -> Cookies? How can I delete cookies from there using js?

Skrevet

Hi, I'm trying to delete cookies from document.cookie object and expect to see the same list of cookies under Storage Inspector -> Cookies tab in Dev Tool (F12). But the cookies deleted from document.cookie continue to be displayed in the Storage Inspector -> Cookies tab. Please advise if there is any way to delete cookies from Storage Inspector -> Cookies tab using js? How does tab decide what cookie to display and where does it take them from (document.cookie??) ? Thanks in advance!

Hi, I'm trying to delete cookies from document.cookie object and expect to see the same list of cookies under Storage Inspector -> Cookies tab in Dev Tool (F12). But the cookies deleted from document.cookie continue to be displayed in the Storage Inspector -> Cookies tab. Please advise if there is any way to delete cookies from Storage Inspector -> Cookies tab using js? How does tab decide what cookie to display and where does it take them from (document.cookie??) ? Thanks in advance!

Yderligere systemdetaljer

Program

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Yderligere information

Luk
cor-el
  • Top 10 Contributor
  • Moderator
17757 løsninger 160578 svar

Did you try to reload the Storage Inspector page to update its content?

Did you try to reload the Storage Inspector page to update its content?
jscher2000
  • Top 10 Contributor
8871 løsninger 72573 svar

cor-el said

Did you try to reload the Storage Inspector page to update its content?

I've also noticed that the Storage Inspector panel doesn't always reflect updates automatically. In addition to using the refresh button, you can switch between storage categories to try to update the display.

''cor-el [[#answer-1117635|said]]'' <blockquote> Did you try to reload the Storage Inspector page to update its content? </blockquote> I've also noticed that the Storage Inspector panel doesn't always reflect updates automatically. In addition to using the refresh button, you can switch between storage categories to try to update the display. <img src="https://prod-cdn.sumo.mozilla.net/uploads/images/2018-05-31-16-08-44-7b2bfa.png">