Is “localStorage” in Firefox only working when the page is online?

前端 未结 3 1017
感动是毒
感动是毒 2020-11-29 06:11

So I\'m toying around with HTML 5 and the localStorage and I\'m noticing that my values only get stored when I run the page in Firefox on the local host (i.e. http://127.0.0

3条回答
  •  庸人自扰
    2020-11-29 07:07

    It seems a bug: Bug 507361 - localStorage doesn't work in file:/// documents
    Hope is fixed soon!

    2011-09-13: Bug fixed, implemented in 'Mozilla8'. I tested this with Firefox 8 and it works now.

提交回复
热议问题