How to view/delete local storage in Firefox?

后端 未结 7 1321
萌比男神i
萌比男神i 2020-12-07 08:38

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 way to do the same in Firefox?

7条回答
  •  借酒劲吻你
    2020-12-07 09:14

    To inspect your localStorage items you may type console.log(localStorage); in your javascript console (firebug for example or in new FF versions the shipped js console).

    You can use this line of Code to get rid of the browsers localStorage contents. Just execute it in your javascript console:

    localStorage.clear();
    

提交回复
热议问题