如何在Firefox中查看

如何在Firefox中查看

本文介绍了如何在Firefox中查看/删除本地存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

在Google Chrome浏览器中,有一种简单的方法可以查看本地存储中的内容,以及在检查后修改或删除它。



有没有工具或什么在Firefox中执行相同的操作?

解决方案

您可以使用(一个有用的网页开发扩展)或者Firefox的开发者控制台

Firebug方法




  1. 打开Firebug(点击右下角的小错误图标)
  2. 转到DOM选项卡

  3. 向下滚动并展开localStorage

  4. 右键单击要删除的项目,然后按Delete Property

$
$ b

开发者控制台方法



您可以将这些命令输入到控制台:

  localStorage的; //点击箭头查看对象的属性
localStorage.removeItem(foo);
localStorage.clear(); //删除所有localStorage的属性



Storage Inspector方法



Firefox现在有一个内置的存储检查器,您可能需要手动启用。请参阅下面的rahilwazir的答案。


In Google Chrome there is an easy way to see what's in local storage as well as modify or delete it after inspecting it.

Is there a tool or something to do the same in Firefox?

解决方案

You can delete localStorage items one by one using Firebug (a useful web development extension) or Firefox's developer console.

Firebug Method

  1. Open Firebug (click on the tiny bug icon in the lower right)
  2. Go to the DOM tab
  3. Scroll down to and expand localStorage
  4. Right-click the item you wish to delete and press Delete Property

Developer Console Method

You can enter these commands into the console:

localStorage; // click arrow to view object's properties
localStorage.removeItem("foo");
localStorage.clear(); // remove all of localStorage's properties

Storage Inspector Method

Firefox now has a built in storage inspector, which you may need to manually enable. See rahilwazir's answer below.

这篇关于如何在Firefox中查看/删除本地存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 20:17