一、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
- 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.
简单来说就是 去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
详见参考资料