Results 1 to 4 of 4
Discuss Script to clear history/cookies/cache? at the iPhone 3G - Hackint0sh.org; Looking for specifically what commands/process the iphone does when you select Clear History, Clear Cookies, ...
  1. #1
    ult
    ult is offline
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Script to clear history/cookies/cache?

    Looking for specifically what commands/process the iphone does when you select
    Clear History, Clear Cookies, and Clear Cache.

    I'm interested in using a shell script to automate the deletion of the files or follow the same procedure the iphoneOS does when you select these actions rather than have to constantly press through the menus each time.

    If you know what commands or actions (I presume deleting specific files) it follows, please reply back and let's see if we can automate it.



  2. #2
    Rookie Array philvujovic's Avatar

    Join Date
    Apr 2009
    Posts
    19
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by ult View Post
    Looking for specifically what commands/process the iphone does when you select
    Clear History, Clear Cookies, and Clear Cache.

    I'm interested in using a shell script to automate the deletion of the files or follow the same procedure the iphoneOS does when you select these actions rather than have to constantly press through the menus each time.

    If you know what commands or actions (I presume deleting specific files) it follows, please reply back and let's see if we can automate it.
    dude i was wondering the same thing! , i usually lend my family my phone when they really need it, and that includes my 10 year old sister, and i wouldnt want anyone to find some history, ..
    or possibly some app like lockdown, that requires a password to access the applications you want to lock, but just for history?
    - Filip Vujovic

    [ -Iphone 3G, jailbroken 3.0 , ROGERS.- ]

    +rep/thanks appreciated (:

    [Come out with things unsaid,
    Shoot an apple off my head]

  3. #3
    ult
    ult is offline
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    lets start with the basics
    We know one of the places mobilesafari keeps its cookies is in:
    /private/var/root/Library/Cookies/Cookies.plist

    We know one of the places mobilesafari keeps its history is in:
    /private/var/mobile/Library/Safari/History.plist

    We know one of the places mobilesafari keeps its cache is is:
    /private/var/mobile/Library/Caches/Safari

    We know when we clear cache/cookies/history it also clears:
    /private/var/mobile/Library/Safari/SuspendState.plist

    so we can all easily script deleting those files. But I'd like to identify if there are other files that are deleted as well. Wish I had a similar tool to filemon to execute here...
    Last edited by ult; 05-21-2009 at 08:03 PM.

  4. #4
    ult
    ult is offline
    Newbie Array

    Join Date
    Jul 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by ult View Post
    lets start with the basics
    We know one of the places mobilesafari keeps its cookies is in:
    /private/var/root/Library/Cookies/Cookies.plist

    We know one of the places mobilesafari keeps its history is in:
    /private/var/mobile/Library/Safari/History.plist

    We know one of the places mobilesafari keeps its cache is is:
    /private/var/mobile/Library/Caches/Safari

    We know when we clear cache/cookies/history it also clears:
    /private/var/mobile/Library/Safari/SuspendState.plist

    so we can all easily script deleting those files. But I'd like to identify if there are other files that are deleted as well. Wish I had a similar tool to filemon to execute here...

    In addition to:

    removing the following:
    /private/var/mobile/Library/Caches/Snapshots/com.apple.mobilesafari-Default.jpg

    and the contents of:
    /private/var/mobile/Library/Caches/Safari/Thumbnails

 

 

Similar Threads

  1. Replies: 0
    Last Post: 04-22-2011, 04:20 AM
  2. SpringBoard Cache?
    By bncplix in forum iPhone 3G
    Replies: 1
    Last Post: 09-19-2009, 08:40 PM
  3. [Customize] Clear Cache
    By huggie20 in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 09-21-2008, 11:10 AM
  4. Customize - Clear Cache?
    By huggie20 in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 09-16-2008, 06:41 AM
  5. DNS Cache Flush
    By fabiolr in forum General
    Replies: 0
    Last Post: 09-24-2007, 08:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:08 AM.
twitter, follow us!