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.

Cache & Cookies

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by jpChris, 2009/02/28.

  1. 2009/02/28
    jpChris

    jpChris Inactive Thread Starter

    Joined:
    2003/09/21
    Messages:
    1,062
    Likes Received:
    9
    Some time ago (in another forum) I posted that I wanted to delete the cookies and cache with as few clicks as possible, ostensibly because I'm lazy, when I closed SeaMonkey.

    Other than the obvious razzing I got, the only thing I could do was to put shortcuts on the Desktop and open and delete them when I was done.

    Still too many clicks.

    From what I've been able to glean is that FireFox has an "empty\delete" on exit option(?).

    SM 1.1.14 doesn't have that feature so I went into edit\prefs\priv&sec\cookies and changed it from "Accept Cookies Normally" to "Accept Cookies For This Session Only ". And, I set my cache to "0 ".

    It's been a week now and the Cookie\Cache folders are empty when I exit. I haven't experienced any ill effects, either; everything loads, downloads, displays just as quickly as it has before and I haven't been kicked out of any sites.

    Is it really this simple to clean-up? Is there something around the bend I'm gonna be sorry for? I have a blisteringly fast 28.8k modem :p so I don't really need to cache web pages.

    Am I safe?

    TIA,
    Chris
     
  2. 2009/02/28
    sniper9228

    sniper9228 Well-Known Member

    Joined:
    2005/08/31
    Messages:
    615
    Likes Received:
    1
    ccleaner or atf cleaner.

    probably atf cleaner!
     

  3. to hide this advert.

  4. 2009/03/01
    jpChris

    jpChris Inactive Thread Starter

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

    I'm familiar with CrapCleaner, but is having to open that program necessary to achieve my goal of No Cookies and No Cache?

    What's "atf cleaner "?

    I'd still like to know if I'm safe with the settings I have?
     
  5. 2009/03/01
    sniper9228

    sniper9228 Well-Known Member

    Joined:
    2005/08/31
    Messages:
    615
    Likes Received:
    1
  6. 2009/03/02
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    jp,
    doing a Search, I came up with the impression that setting Cache=0, should not cause problems, as many sites override that setting, and place a minimum default. I saw reports that extensions could not be installed. or even downloaded, when Cache was set to zero. I have no experience setting the Cache very low with SeaMonkey. I have set it anywhere between 1 and 10 MB. and I empty it using the prefbar extension, using one click to remove cache.
     
  7. 2009/03/04
    jpChris

    jpChris Inactive Thread Starter

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

    Thanks for the info. I like the toolbar you linked, but the only thing I'd want is the "Clear History" button. I'll bookmark the page and study it in more depth.

    Would you happen to know if I can install just the one item without having an extra toolbar?

    Anyway, as far as setting cookies to "this session only ", there's only been a couple of sites that gave me a "your browser isn't accepting cookies . . ." admonishment, but that's it.

    Thanks, again.
     
  8. 2009/03/05
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    On the far right of the prefbar there is Customize button. You will have to scroll down a way to find the Clear... buttons under available items, and Clear History is there.
     
  9. 2009/03/06
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    Hi Chris,

    You can customize PrefBar with as many, or as few, items as you wish.

    Personally, I hate additional toolbars, but PrefBar is my one exception, because it can be hidden when not needed ... the F8 key toggles it into and out of view.

    Because some web pages are designed with colors that make their text very hard to read, I use PrefBar to turn off the background colors. I also use it to turn Flash off and on. In earlier versions it was necessary to reload the page after making any changes with PrefBar, but with recent versions (4.1.2 is current) changes are immediate.

    EDIT: I just discovered that, if you click on "Options" when PrefBar's "Customize" window is open, you don't need to use the additional toolbar at all ... you can place PrefBar's selected items on the navigation bar or on the menubar. And, if you do use the PrefBar, the toggle key is selectable ... F8 is just the default.
     
    Last edited: 2009/03/06
  10. 2009/03/08
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    I use FF 3.06 (on Linux), and afaik, there's always been an option in the Tools Menu "Clear Private Data ", which removes cache, cookies, history, etc., per your private data settings.
     
  11. 2009/03/08
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

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

    You're right, of course but, if you re-read Chris's original post, he wants to do it with as few mouse clicks as possible. Installing and properly configuring PrefBar would allow him to do just that.

    I've just taken my own advice and moved the only two PrefBar features I use (turning background colors and flash off and back on) to my navigation bar (screenshot).
     

    Attached Files:

  12. 2009/03/08
    jpChris

    jpChris Inactive Thread Starter

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

    Great screen shot and nice setup. However, I apologize for my lack of clarity regarding my browser: It's SeaMonkey. Mea culpa :( for not being more clear.

    My main gist is that at the end of the day, I don't want to have to open SeaMonkey again to delete everything. And, ideally, I'd like to do a one click to delete the "history.dat" and "XUL.mfl" files, too. If I don't keep after these two files they can grow like kudzu in Florida.

    I'm asking too much, aren't I?
     
  13. 2009/03/08
    JSS3rd Lifetime Subscription

    JSS3rd Geek Member

    Joined:
    2002/06/28
    Messages:
    2,221
    Likes Received:
    27
    Hi Chris,

    Not at all. I'm well aware that you use SeaMonkey (I don't, as I don't like suites ... went through all that with the old NetScape series, and I much prefer having my browsing and email handled by independent programs).

    That said, PrefBar works with SM, as well as with FF, and I would think that it works much the same way. I don't see why you couldn't place the features you want on either your nav or menu bar, as I did. It might take you two clicks instead of just one to do what you want, but what the heck? At least give it a try.:)

    EDIT: I didn't read your post closely enough, as I didn't realize that you apparently close your browser when you're not using it. I'm the other way 'round ... when I crank up my computer in the morning, the first two things I open are Firefox and Thunderbird, and they stay open until I shut down at night.
     
    Last edited: 2009/03/08
  14. 2009/03/09
    Westside

    Westside Inactive Alumni

    Joined:
    2003/03/30
    Messages:
    4,506
    Likes Received:
    14
    The Clear All button of the Prefbar will handle everything necessary, but, of course, one has to remember to do the job while Seamonkey is open.
    O
    I have trained myself to do this, and I can skip once or twice without disaster striking. My history.dat file is no issue. No program I use has had it even in the 1 KB range. The xul.mfl can grow big once in a while, but 3.7 MB is no kudzu. I deleted the file for the first time, ever.
     
  15. 2009/03/10
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    You should be able to remove these files (and the cache) using a .BAT or .CMD file (one click via a shortcut). AFAIK, they will get recreated next time the browser is launched.

    Code:
    @echo off
    echo This program deletes Mozilla temp files.
    
    pause
    DEL  /S/q  "FULL PATH TO PROFILE NAME HERE\********.slt\history.dat "
    DEL  /S/q  "FULL PATH TO PROFILE NAME HERE\********.slt\xul.mfl "
    DEL  /S/q  "FULL PATH TO PROFILE NAME HERE\********.slt\cookies.txt "
    DEL  /S/q  "FULL PATH TO CACHE HERE\cache\* "
    pause
     
  16. 2009/03/10
    jpChris

    jpChris Inactive Thread Starter

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

    Thanks! This is what I was looking for (I think).

    So, I open NotePad, and paste in:

    @echo off
    echo This program deletes Mozilla temp files.

    pause
    DEL /S/q "D:\Mozilla\jpChris\********.slt\history.dat "
    DEL /S/q "D:\Mozilla\jpChris\********.slt\xul.mfl "
    DEL /S/q "D:\Mozilla\jpChris\********.slt\cookies.txt "
    DEL /S/q "D:\Mozilla\jpChris\cache\* "
    pause

    Then I save the file as <something>.bat on the Desktop? Then when I click it, history, XUL, etc., will be deleted? All 4 of 'em?

    Or, should I save it somewhere else, create a ShortCut to it and put it on the DeskTop? Or, does it make no difference?
     
  17. 2009/03/11
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Makes no difference where you put it. I suggest putting it in the root of C:/ and makeing a desktop or quiklaunch shortcut. You can rt click the shortcut, select "properties" and change the font, colors and window size. You can even change the icon (windows will throw up an alert when changing the icon, just continue...).

    BACKUP YOUR PROFILE FIRST!!!!!!!!!!
    BACKUP YOUR PROFILE FIRST!!!!!!!!!!

    Then try the batch file & see if it works. If no joy, the bat can be adjusted by myself or others here. The profile can be copied back in the event something goes wrong.
     
  18. 2009/03/11
    jpChris

    jpChris Inactive Thread Starter

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

    Uh, are you saying I should backup my profile first? :p

    Anyway, THANK YOU!!! (yes, I'm shouting) It worked!!! I had a few false starts, but that was because I didn't put in the right path and transposed a few letters (darn computer does what I tell it to do, not what I want it to do).

    Bottom line (after I got it together): I saved it to the root of C:\, created a shortcut on the Desktop, and changed the Icon. Now I just click the Icon, hit the spacebar once and the files are deleted, then hit the spacebar again and the window closes. I tested it about 10 times today (kinda like a kid with a new bicycle) and it always worked perfectly!

    Quick question: Can I put "exit" somewhere in there so I don't have to hit the spacebar twice?

    Thanks, again, Tony, I'm a very happy camper.
     
  19. 2009/03/12
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    To have the batch file do it's job without any interaction, remove the 2 lines that say "pause ". "Pause" prints the "press any key to continue" text. Eliminate it and the window will open, run the commands and auto close.

    You can add more commands to the batch file as as well. For example, to get rid of user temp files, add these 2 lines, the first removes the user's whole temp folder & all files in it, the second recreates the temp folder. To see your temp file, go to docs & settings/username/local settings, temp/.

    Code:
    RD /S/q   "%UserProfile%\Local Settings\Temp\ "
    MD  "%UserProfile%\Local Settings\Temp\ "
    Note: you can change the lines for the mozilla files too: %UserProfile%\ = DRIVE:\Documents & Settings\Username\. It works for any logged on user.
     
    Last edited: 2009/03/12

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.