HTML5   发布时间:2022-04-26  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了html5 – 哪个物理目录是firefox的localstorage目录?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我的本地电脑上安装了三个浏览器:firefox,chrome,opera.
find /  -name  'Local Storage'
/home/debian8/.config/opera/Local Storage
/home/debian8/.config/google-chrome/Default/Local Storage

用于存储数据的物理目录可以通过find / -name’Local Storage’找到opera和chrome,而不是firefox.
哪个物理目录是firefox的localstorage目录?

ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage
default  peRMANent  temporary

为了追踪物理目录,数组以这种方式存储在firefox的本地存储中.
在Firefox中打开https; // www.yahoo.com
2.将数组与js存储在firebug – console中

var arrdisplay = [0,1,1];
localStorage.setItem("menutitle",arrdisplay);


ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage
认永久暂时

它很可能在认目录中.

ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default
https+++www.yahoo.com
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com
idb
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb
301792106ttes.files   301792106ttes.sqlite-shm
301792106ttes.sqlite  301792106ttes.sqlite-wal
sqlite3  /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite-shm
sqlite version 3.8.7.1 2014-10-29 13:59:56
Enter ".Help" for usage hints.
sqlite> .table
sqlite> .exit
sqlite3  /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite-wal
sqlite version 3.8.7.1 2014-10-29 13:59:56
Enter ".Help" for usage hints.
sqlite> .table
sqlite> .exit
sqlite3  /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/default/https+++www.yahoo.com/idb/301792106ttes.sqlite
sqlite version 3.8.7.1 2014-10-29 13:59:56
Enter ".Help" for usage hints.
sqlite> .table
database            index_data          object_store        unique_index_data

file object_data object_store_index
源码>从数据库中选择*
测试| https://www.yahoo.com|1|1473647521683690|0|49152
源码> SELEct * from index_data;
源码> SELEct * from object_store;
源码> SELEct * from unique_index_data;
源码>从文件中选择*
源码> SELEct * from object_data;
源码> SELEct * from object_store_index;

没有关于menutitle的线索.

ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/peRMANent
chrome  indexeddb+++fx-devtools  moz-safe-about+home

很有可能是indexeddb fx-devtools目录.

ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/peRMANent/indexeddb+++fx-devtools
idb
ls /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/peRMANent/indexeddb+++fx-devtools/idb
478967115deegvatroootlss--cans.files  478967115deegvatroootlss--cans.sqlite
sqlite3  /home/debian8/.mozilla/firefox/4qfwwwo5.default/storage/peRMANent/indexeddb+++fx-devtools/idb/478967115deegvatroootlss--cans.sqlite
sqlite version 3.8.7.1 2014-10-29 13:59:56
Enter ".Help" for usage hints.
sqlite> .table
database            index_data          object_store          unique_index_data  file     object_data         object_store_index
sqlite> SELEct * from database;
devtools-async-storage|indexeddb://fx-devtools|1|1475141158242996|0|49152
sqlite> SELEct * from  object_store;
1|0|keyvaluepairs|
@H_855_4@menutitle存储在firefox的安装目录中的哪里?

解决方法

在现代Firefox中,localStorage数据存储在 webappsstore.sqliteDoc中,您可以在 profile folder中找到.
你的情况下,它看起来像你想要的:
/home/debian8/.mozilla/firefox/4qfwwwo5.default/webappsstore.sqlite

/ storage / default / …文件夹用于Indexed DB文件 – 这与localStorage不同.

大佬总结

以上是大佬教程为你收集整理的html5 – 哪个物理目录是firefox的localstorage目录?全部内容,希望文章能够帮你解决html5 – 哪个物理目录是firefox的localstorage目录?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。