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.

Deleting SeaMonkey's cookies, history, etc.

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by jpChris, 2011/12/26.

  1. 2011/12/26
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi all,

    Many moons ago I was bitc... uh, complaining that to delete the cookies, history, etc., from SeaMonkey 1.x I had to open it and click too many times to clean up after using.

    I was looking for a way to do it from the Desktop with just a click after I was done with SM.

    I believe it was TonyT that gave me a .bat file that worked perfectly: I'd click the Desktop icon, hit the spacebar twice, and all was deleted.

    This was back in March, 2009, and I can't find the original post.

    Anyway, as SM 2.5 is much different from 1.x, I was wondering if there's a way to configure a new .bat file to delete the Browsing History, Cache, Cookies, and Download History from my Desktop when I'm done with SeaMonkey for the day?

    Here's what I have for SM 1.x:

    @echo off
    echo This program deletes Mozilla temp files.

    pause
    DEL /S/q "D:\Mozilla\jpChris\xxxxxxxx.slt\history.dat "
    DEL /S/q "C:\Documents and Settings\Administrator\Local Settings\Application Data\Mozilla\Profiles\jpChris\XUL.MFL "
    DEL /S/q "D:\Mozilla\jpChris\xxxxxxxx.slt\downloads.rdf "
    Del /S/q "D:\Mozilla\jpChris\xxxxxxxx.slt\cookies.txt

    pause


    And, I'll say the same thing now as I did then: I'm just lazy. I don't want to have to click 5 times to delete the stuff above.

    Anyone? Anyone?
     
  2. 2011/12/26
    captjlddavis

    captjlddavis Well-Known Member

    Joined:
    2002/09/13
    Messages:
    588
    Likes Received:
    3
    Chris....

    I know you are Lazy, but GOOGLE is your friend.

    Google for clear private data seamonkey 2.5 on exit

    regards:captjldd
     
    Last edited: 2011/12/26

  3. to hide this advert.

  4. 2011/12/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Newer versions changed from txt files to sqlite database files.
    You can use that batch file for some of the items, but not all, by editing the path to reflect the sqlite files.

    DEL /S/q "D:\Mozilla\jpChris\xxxxxxxx.slt\downloads.sqlite "
    Del /S/q "D:\Mozilla\jpChris\xxxxxxxx.slt\cookies.sqlite "

    places.sqlite contains History, but also contains stuff you'll want to keep, such as Bookmarks. In SM 2.1 & above & FF 3 & above, if delete this file, the Bookmarks get recreated via existing backups automatically.

    You can also use this command file that will get rid of all the sqlite files, they get recreated next time the browser is launched. Backup your existing profile before using this script. And you may have to edit the paths to reflect Seamonkey rather than FF. (I don't know Seamonkey)

    Save as cleanup.cmd.
    Code:
    @echo off
    echo This program deletes Mozilla temp files.
    pause
    set DataDir=C:\Users\%USERNAME%\AppData\Local\Mozilla\Firefox\Profiles
    
    del /q /s /f  "%DataDir% "
    rd /s /q  "%DataDir% "
    
    for /d %%x in (C:\Users\%USERNAME%\AppData\Roaming\Mozilla\Firefox\Profiles\*) do del /q /s /f %%x\*sqlite
    pause
     
  5. 2011/12/26
    captjlddavis

    captjlddavis Well-Known Member

    Joined:
    2002/09/13
    Messages:
    588
    Likes Received:
    3
    JpChris,

    I agree with TonyT... some of the file names have been changed and some do not exist any longer....

    It also looks like when you move the Profile location as you have done...... the files are longer on C:\ drive, but in the NEW profile location.

    Before you start hacking away at the files in the profile:

    You might want to look at:

    Tools->Clear Private Data...... Take your pick.

    and

    Edit->Preferences->Privacy & Security - Private Data...

    You may be able to do pretty much what you want.


    Hope this helps.

    But I could be wrong.

    regards "captjldd
     
  6. 2011/12/27
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338

    In SeaMonkey under Edit > Preferences > Privacy & Security, set the following options as shown:
    User Tracking
    [] Tell web sites I do not want to be tracked

    Private Data
    [] Always clear my private data when I close SeaMonkey
    [ ] Ask me before clearing private data (do NOT check this one)

    When I ask SeaMonkey to clear my private data, it should erase:
    [] Browsing History
    [] Location Bar History
    [] Download History
    [] Saved Form and Search History
    [] Cache
    [] Cookies
    [] Offline Website Data
    [] Save Passwords
    [] Authenticated Sessions​
    and then click the [ OK ] button.

    Now everytime you exit SeaMonkey, ALL of your private data will be cleared automatically.
     
  7. 2011/12/30
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi guys,

    I discovered the Edit > Preferences > Privacy & Security dealywad and set the clear\delete for: Browsing History; Download History; Cache; Cookies; Authenticated Sessions (although I have no idea as to what that is); and I really don't want to delete my passwords.

    The "lazy" problem I have is that I pop open the browser numerous times a day and every time I close out, the "clear" box comes up and I've gotta click it one way or another.

    Is there a "function" within SeaMonkey that I can manually call up (like SeaMonkey does automatically when closing) to delete all the stuff when I close out for the day?

    [and p.s.: Is it SM or this sites new design the reason my Login info doesn't auto enter (like SM 1.x) and I have to type in the first letter of my user name?]
     
    Last edited: 2011/12/30
  8. 2011/12/31
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338

    See above:
    [ ] Ask me before clearing private data (do NOT check this one)
     
  9. 2011/12/31
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    If you removed Authenticated Sessions then form auto-fill won't work automatically.
    Authenticated Sessions
     
  10. 2011/12/31
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi TonyT,

    I unchecked "Authenticated Sessions ", closed out of SM, restarted and I still have to enter the first letter of my name. However, on about a dozen other sites my login info is auto entered on going to the site (e.g., When I'm referred to Mozilla.org from my e-mail, I'm automatically taken to the login page and my user info is there. Or, If I go to it "cold" [from bookmarks] and I click login, my info is there).

    On the other hand, I used SM 1.x, came here, and my info was auto-entered.

    Did I miss something?
     
    Last edited: 2011/12/31
  11. 2011/12/31
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    When you login here you must check the box: Remember me. That way the password gets stored in a cookie, encrypted of course.
     
  12. 2011/12/31
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi Tony,
    I have — honestly — just about every time I log in hoping that "it" will behave. And, still no joy.
     
  13. 2011/12/31
    captjlddavis

    captjlddavis Well-Known Member

    Joined:
    2002/09/13
    Messages:
    588
    Likes Received:
    3
    jpChris,

    Fore What it's worth, I tried several sites including this one.... using SM 1.x and several newer SMs (2.1,2.2 and 2.5 ) all the newer SMs and FF 3.5 behave the way you say......
    Some sites work as they do in SM 1.x and some do not.
    I think that with SM 2.x and above they changed the way that Passwords are handled.
    In the newer SMs it looks like they changed where some of the *.js files that were located in the \Program Files\.........\seamonkey\defaults\pref\... directory to the omni.jar file....

    In short, I think that this is the way that it is and we have to live with it....

    Thats just my humble opinion, and I could be wrong.. I know that doesn't help any. Maybe someone else can help.

    regards:captjldd
     
  14. 2011/12/31
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi Capt'n,

    Quote: "If it's written, it can be tweaked." (by: me, just now)

    As I said, this behavior is weird. There doesn't seem to be any rhyme nor reason as to why some sites auto-enter and others don't. SM 1.x always does it perfectly, every time.

    Maybe something in the .JS file can be copied to the omni.jar??? I don't know either. The only thing I do know for sure is that it's a PITA.
     
  15. 2012/01/02
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Try going back to all of your original settings. And also uncheck "clear xxxx when browser closes ".
     
  16. 2012/01/04
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Hi Tony,
    And, that didn't make any difference, either. Plus, I'm not the only one having this PITA problem.

    @ Capt'n,

    The omni.jar (Java file) file is 6.5MB in size and there's no way I can do anything because when I try to open it, I get the message that it's a "Corrupt or Invalid Jarfile." That and the fact that it's dated about 2 weeks before I even downloaded SM 2.5!

    Would it have anything to do with the individual sites?

    (As a side note, I cloaked the file and SM wouldn't open. SM 1.x did and I came here and my userID was auto entered. I uncloaked the file and SM 2.5 worked. So, if the file is Corrupt or Invalid, why does SM only work with it accessible?)
     
    Last edited: 2012/01/04
  17. 2012/01/05
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    That's a bug in early versions of Mozilla. SM does not used the newer FF browsers.

    Yes, omni.jar contains the "remember password" files. It is a non-standardly compressed java archive.

    Try copying the omni.jar to the Desktop, then rename to omni.zip. Windows should now be able to decompress it, and you can edit the files in it.

    See last paragraph here:
    Edit Files Inside Firefox 4 omni.jar to Auto Save Password

    If Windows XP cannot decompress the jar file then follow the directions in the earlier part of that page.
     
  18. 2012/01/05
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    At this point I am entirely confused. I know that if I go to to the Seamonkey Program Files, I can completely open the omni.jar file with AlZip. The 6+ MB omni.jar file is extracted to an 18+MB omni folder. I will have to look more closely at the thread to see if I get any clue as to which of the more the 2100 files should be edited.
    Seamonkey 2.6.1, the latest Seamonkey build is based on Firefox9.0.1, which is the latest, stable Firefox version.
     

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.