一、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
詳見參考資料