X
Tap here to go to the mobile version of the site.

Support Forum

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?

Posted

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!

Additional System Details

Application

  • 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

More Information

cor-el
  • Top 10 Contributor
  • Moderator
17473 solutions 157934 answers

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
8694 solutions 71066 answers

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