html物理路径,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|

menuTitle存储在firefox的安装目录中的哪里?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值