FireFox和Chrome浏览器Cookies存储路径记录

Firefox

  • Windows

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

1
C:\Users\xxx\AppData\Roaming\Mozilla\Firefox\Profiles\hsi4acx.default\cookies.sqlite
  • Mac

官网

Finding your profile without opening Firefox
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.
Open the Application Support folder, then open the Firefox folder, and then the Profiles folder.
Your profile folder is within this folder. If you only have one profile, its folder would have “default” in the name.

找到 default结尾的目录

1
/Users/xxx/Library/Application Support/Firefox/Profiles

Chrome

  • windows
1
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\UserData\Default\
  • mac
1
~/Library/Application Support/Google/Chrome
  • linux
1
2
~/.config/google-chrome