开发者

Google Chrome Cookie Storage

开发者 https://www.devze.com 2023-02-01 17:11 出处:网络
Where does the latest Google Chrome for Mac save cookies, specifically those that expire 开发者_JS百科with the session?The cookies are in a sqlite3 database named ~/Library/Application Support/Google/

Where does the latest Google Chrome for Mac save cookies, specifically those that expire 开发者_JS百科with the session?


The cookies are in a sqlite3 database named ~/Library/Application Support/Google/Chrome/Default/Cookies. The session cookies are not stored on the disk.


The file is a SQL database you can see and change the contents with SQLite Database Browser witch can be easily found for download in the internet.


Even though this was posted 6 years ago, maybe this could still be helpful: did you mean to ask where can you find the cookies and localstorage and resources on chrome's devTools on mac os? It's under "application" tab.


Josh Lee's answer is correct, however, if you're having trouble finding the cookies in Finder, it's probably because they're located within the hidden 'Library' folder in your user's home directory.

The easiest way to get there is just open Finder, open the 'Go' menu up top, and press 'Go to Folder'. Then just paste in the path and hit go;

~/Library/Application Support/Google/Chrome/Default/Cookies

If you want to be able to view hidden files and folders in OS X you should run the following command in the Terminal;

defaults write com.apple.finder AppleShowAllFiles YES

Once you've done that, hold the Alt key (option key) and right-click on the finder icon in your Dock, and click Relaunch. Now when you open a finder window you can see hidden files and folders.

0

精彩评论

暂无评论...
验证码 换一张
取 消