Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Transferring FireFox Cookies?

Transferring FireFox Cookies?
Thread Tools
Mac Elite
Join Date: Sep 1999
Status: Offline
Reply With Quote
Mar 6, 2005, 09:26 AM
 
I'm setting up an account for myself on my wife's PowerMac and would like to transfer as many preferences, bookmarks and cookies from my PowerBook as possible.

It was fairly easy to copy over most of this stuff and judiciously drag and drop it into the correct folders replacing the existing contents. This worked nicely for Safari's cookies and both Safari's & FireFox's bookmarks. BUT I haven't figured out _where_ FireFox stores its cookies.

Is it possible to transfer FireFox cookies between computers? If so, how?

Thanks in advance - asxless in iLand
     
Professional Poster
Join Date: Dec 2000
Status: Offline
Reply With Quote
Mar 6, 2005, 10:06 AM
 
if you go to her home folder>library>app support>
firefox>profiles>[...].default, copy the cookies.txt and cookperm.txt files (and bookmarks.html if you want) and drop them in the new default profile folder in her home folder (same path) on the new mac. Make sure you run firefox once on the new mac first so it can create that app support/firefox/profiles directory path.
     
asxless  (op)
Mac Elite
Join Date: Sep 1999
Status: Offline
Reply With Quote
Mar 6, 2005, 10:11 AM
 
Originally posted by fulmer:
if you go to her home folder>library>app support>
firefox>profiles>[...].default, copy the cookies.txt and cookperm.txt files (and bookmarks.html if you want) and drop them in the new default profile folder in her home folder (same path) on the new mac. Make sure you run firefox once on the new mac first so it can create that app support/firefox/profiles directory path.
Thanks.

The disclaimer in the cookies.txt file
"# This is a generated file! Do not edit."
lead me to believe that this was _not_ the actual cookie store. So I was looking for it somehwere other than righ in front of me

-- asxless in iLand
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Mar 6, 2005, 05:36 PM
 
Nope; that's the actual cookie store, all right. One thing you need to be careful about when you edit or replace any preferences files in Gecko-based apps: quit the app which owns that file before you edit it.

Gecko reads in all of its preferences when it starts up, and then doesn't touch the file again until you quit. At that time, it overwrites all of the prefs files with its current settings. This has two consequences. First of all, when you edit the file with Gecko running, you won't be able to get Gecko to read in the file. Second, when you quit Gecko, it will overwrite the preferences files, which will undo any changes you've made while it was running.

Note that this phenomenon isn't unique to Gecko. Most apps work this way. However, few Mac apps have ever had human-readable preferences files, even though it's a very common thing for Unix applications. For many Unix apps, this is the only way you can change settings. Mozilla, and later the other Gecko apps, inherited the human-readable files fromthe Unix heritage of many of its developers, but then added the GUIs demanded by many Windows and Mac users: truly, the best of both worlds.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:53 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2