1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Cookie Mgmt

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by TonyT, 2006/06/20.

  1. 2006/06/20
    TonyT

    TonyT SuperGeek Staff Thread Starter

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    I use IE mostly when booted to Windows but I use Firefox when booted to Linux. In FF there is an area for cookie exceptions, i.e. I can add domains & select to alow or disallow the domain from setting cookies. My question is this:

    Is there a quick method of importing a list of undesirable domains or a quick method of blocking them rather than individually entering the domains 1x1? I have a txt file of domains that I culled from the IE restricted sites reg key.
     
  2. 2006/06/20
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    Tony ...

    Your question is about something I've not had to deal with, so I'm speculating here. The only cookie files (cookies.txt and cookperm.txt) in my FF profile are generated files, with a Do Not Edit note included.

    Unless someone has written an extension that will do the job for you (I haven't looked), I think you may be stuck entering them one at a time.
     
    Last edited: 2006/06/20

  3. to hide this advert.

  4. 2006/06/20
    Dennis L Lifetime Subscription

    Dennis L Inactive Alumni

    Joined:
    2002/06/07
    Messages:
    2,557
    Likes Received:
    2
    Could try Permit Cookies
    Hopefully it will speed up the manual approach.
    Another one you could look at is Add N Edit Cookies
    Have no experience with these extensions and not sure they run in a Firefox/Linux environment.
     
  5. 2006/06/20
    Bmoore1129

    Bmoore1129 Geek Member

    Joined:
    2002/06/11
    Messages:
    1,675
    Likes Received:
    3
    Tony

    In my cookies I have set cookies from originating site only and under "exceptions" there is a ton of them listed from 100hot.com to xxxtoolbar.com. I did not put them there.

    I notice that they match the entries in my spywareblaster custom block list under Mozilla/Firefox.

    I am guessing they were put in Firefox by spywareblaster??
     
  6. 2006/06/20
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    Yes! Spyware Blaster will also do the same for IE, and it is updated about twice each month. It is a great program to have.
     
  7. 2006/06/22
    TonyT

    TonyT SuperGeek Staff Thread Starter

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Yes, I realize that. I have spyware blaster on my windows pcs & use it w/ IE. Reason I asked is cause I use Firefox on my linux laptop and was looking for a quick way to get the spyware blaster list into firefox without having to add exceptions 1x1.

    So, FF must save these somewhere in a config file, even on windows versions. What's the config file that FF uses to store the disallowed cookie domains?

    edit:

    Found it. In linux FF uses a file called hostperm.1 which is a list of who can & cannot set cookies, in this format:

    # Permission File
    # This is a generated file! Do not edit.

    host cookie 2 doubleclick.net
    host cookie 2 doubleclick.com
    host cookie 1 mybanklogin.com


    ...where 1 = allowed and 2 = blocked.
     
    Last edited: 2006/06/22
  8. 2006/06/22
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    Tony ...

    The same file exists in the Windows version of FF. In addition to cookies, it lists popups and sites that install updates to some FF plugins and extensions.
     
  9. 2006/06/23
    TonyT

    TonyT SuperGeek Staff Thread Starter

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Thanks.
    I managed to use find+replace in a txt editor to convert my IE restricted Sites reg key into a FF hostperm.1. Works liken a charm and no delays in running FF either. It does take a bit longer now to view the cookie exceptions in FF, but I would expect that w/ over 3600 domains in the list!
     
    Last edited: 2006/06/23
  10. 2006/06/23
    Bmoore1129

    Bmoore1129 Geek Member

    Joined:
    2002/06/11
    Messages:
    1,675
    Likes Received:
    3
    Tony could you share this proceedure with us? Thanks
     
  11. 2006/06/23
    TonyT

    TonyT SuperGeek Staff Thread Starter

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    1.regedit > HKLM/Software/Microsoft/Windows/Current Version/Internet Settings/Zone Map/Domains
    2. rt click the Domains folder & select "export" & save as "restricted.reg ".
    3. rt click the .reg file & select "Edit" & will open it in Notepad.
    4. Notepad: Edit menu/select all.
    5. Notepad: Edit menu/copy.
    6. paste into a NEW empty Notepad window & save as restricted.txt.

    note: there are multiple methods of making the txt file. But DO NOT export from rfegedit as a txt file because the file will contain binary data that will prevent it from opening in all txt editors.

    7. use find & replace to achieve the format below:
    (note, that is NOT a space between words but a tab & your text editor MUST be able to insert tabs using find & replace. My editor uses standard symbol for tab which is this: \t

    host cookie 2 doubleclick.net
    host cookie 2 doubleclick.com
    host cookie 1 mybanklogin.com

    rename the txt file to hostperm.1

    Here's my hostperm.1 file which can be downloaded presently but will be unavailable in a week:
    http://members.cox.net/aturrisi/hostperm.1.zip (22Kb - 3659 domains)
     
  12. 2006/06/24
    Bmoore1129

    Bmoore1129 Geek Member

    Joined:
    2002/06/11
    Messages:
    1,675
    Likes Received:
    3
    Outstanding Tony. You made it easy as pie.:cool:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.