FireFox和Chrome浏览器Cookies存储路径记录(以便后续操作Cookies以实现某些鲜为人知的操作)

一、FireFox:

在windows环境下

Cookie数据位于:%APPDATA%\Mozilla\Firefox\Profiles\ 目录中的xxx.default目录,名为cookies.sqlite的文件,如

C:\Users\nuym\AppData\Roaming\Mozilla\Firefox\Profiles\hsi4acx.default\cookies.sqlite

在Mac环境下

操作方法如下(摘自官网)参考

Finding your profile without opening Firefox

  1. Click the Finder icon in the dock. On the menu bar, click the Go menu, hold down the option or alt key and select Library. A window will open containing your Library folder.
  2. Open the Application Support folder, then open the Firefox folder, and then the Profiles folder.
  3. Your profile folder is within this folder. If you only have one profile, its folder would have "default" in the name.

简单来说就是 去Finder 点前往,按住option 键 然后点击资源库 ,就会新开一个Finder窗口,然后去Application Support 就能找到FireFox目录了

或者直接去Finder 前往该目录

/Users/huangkaikang/Library/Application Support/Firefox/Profiles

 

二、Chrome

在Windows下,直接找下面这个路径就可以

C:\Users\%USERNAME%\AppData\Local\Google\Chrome\UserData\Default\

例如

C:\Users\Alice\AppData\Local\Google\Chrome\User Data\Default

 

在mac下

~/Library/Application Support/Google/Chrome

在Linux 下

~/.config/google-chrome

详见参考资料

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值