X
Tap here to go to the mobile version of the site.

Support Forum

Where is the cookies file on mac?

Posted

I'm writing a script with wget and need a cookie that is stored in firefox. I looked in ~/Library/Application Support/Mozilla as well as /Library/Application Support/Mozilla and in the package contents but couldn't find. From what I know it was a txt file in previous versions but now uses a different extension but still uses the name cookies.(extension).

I'm writing a script with wget and need a cookie that is stored in firefox. I looked in ~/Library/Application Support/Mozilla as well as /Library/Application Support/Mozilla and in the package contents but couldn't find. From what I know it was a txt file in previous versions but now uses a different extension but still uses the name cookies.(extension).

Additional System Details

This happened

Every time Firefox opened

This started when...

I couldn't find it.

Installed Plug-ins

  • Gecko default plugin
  • Runs Java applets using the latest installed versions of Java. For more information: Java Embedding Plugin. Run version test: Java Information.
  • 3.0.40818.0
  • The Flip4Mac WMV Plugin allows you to view Windows Media content using QuickTime.
  • DivX Web Player version 2.0.0.263
  • Shockwave Flash 10.1 r53
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.

Application

  • User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

More Information

AliceWyman
  • Moderator
240 solutions 2587 answers

Helpful Reply

~/Library/Application Support/Firefox/Profiles/<profile folder>

You have to go to your Macintosh HD -> users -> "username" folder's /Library/Application Support/Firefox/Profiles folder and then open the profile folder inside, which would be named something like xxxxxxxx.default for the "default" profile. Inside you'll find a bunch of files, including the database file cookies.sqlite where cookies are now stored.

Starting in Firefox 3.6 you can quickly open the current profile in Firefox from the Help menu, by clicking on "Troubleshooting Information" and, under Application Basics, clicking "Show in Finder" (Mac OS).

Ref:

Profiles - Where Firefox stores your bookmarks, passwords and other user data

http://kb.mozillazine.org/Profile_folder_-_Firefox

P.S. This forum topic may also help:

http://forums.mozillazine.org/viewtopic.php?f=38&t=1968701 Resolved:Need Help reading and saving individual cookies

~/Library/Application Support/Firefox/Profiles/<profile folder> You have to go to your Macintosh HD -> users -> "username" folder's /Library/Application Support/Firefox/Profiles folder and then open the profile folder inside, which would be named something like xxxxxxxx.default for the "default" profile. Inside you'll find a bunch of files, including the database file '''cookies.sqlite''' where cookies are now stored. Starting in Firefox 3.6 you can quickly open the current profile in Firefox from the Help menu, by clicking on "Troubleshooting Information" and, under Application Basics, clicking "Show in Finder" (Mac OS). Ref: [[Profiles]] http://kb.mozillazine.org/Profile_folder_-_Firefox P.S. This forum topic may also help: [http://forums.mozillazine.org/viewtopic.php?f=38&t=1968701] Resolved:Need Help reading and saving individual cookies

Modified by AliceWyman

cor-el
  • Top 10 Contributor
  • Moderator
17348 solutions 156817 answers

You can also use Help > Troubleshooting Information > Profile Directory > Open Containing folder

See Use the Troubleshooting Information page to help fix Firefox issues

You can also use Help > Troubleshooting Information > Profile Directory > Open Containing folder See [[Using the Troubleshooting Information page]]
AliceWyman
  • Moderator
240 solutions 2587 answers

Once you find the cookies.sqlite file, here's another forum topic that may help you work with it:

http://www.linuxquestions.org/questions/linux-software-2/using-the-cookies-sqlite-from-firefox-3-in-wget-653227/

Once you find the cookies.sqlite file, here's another forum topic that may help you work with it: http://www.linuxquestions.org/questions/linux-software-2/using-the-cookies-sqlite-from-firefox-3-in-wget-653227/