为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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?

more options

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!

所有回复 (2)

more options

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

more options

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.