Jump to content

Getting _IE History?


Recommended Posts

Hello, I was wondering if there was a way to get the history to delete it / delete the cookies? Thanks in adv. - Donald8282

For Delete :

Cookies : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

History : RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

RunWait ( 'RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2', @ScriptDir, @SW_HIDE )
RunWait ( 'RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1', @ScriptDir, @SW_HIDE )

You can do like this : RunWait ( 'RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 3', @ScriptDir, @SW_HIDE ) ; 2+1 will delete cookies and history in one step.

For get cookies and history folder path :

ConsoleWrite ( "-->-- Cookies : " & RegRead ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Cookies" ) & @Crlf )
ConsoleWrite ( "-->-- History : " & RegRead ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "History" ) & @Crlf )

Edit : dantay9 have already find TravelLog: Command line tool for managing IE history.

TravelLog: Command line tool for managing IE history

Solely based on CUrlHistory object.

Author: Arkadi Kagan

Use this tool like this:

TravelLog {-l|-d <URL>|-a <URL>[ <title>]|-url <URL part>|-title <title part>}

Where:

-l - List all the history

-d <URL> - Deletes all instances of the specified URL

-a <URL>[ <title>] - Places the specified URL into the history

-url <URL part> - Find URL contains specified substring

-title <title part> - Find URL title contains specified substring

-visited <partial date> - Find URL with "last visited" date substring

-updated <partial date> - Find URL with "last updated" date substring

-expires <partial date> - Find URL with "expires" date substring

Only one operation at once is supported.

Try like this :

#include <array.au3>

Global $_StdoutRead

$_Pid = Run ( @ComSpec & ' /c ' & FileGetShortName ( @ScriptDir & '\TravelLog.exe' ) & ' -l', '', @SW_HIDE, 6 )
Do
    $_StdoutRead &= StdoutRead ( $_Pid, False, False )
Until @error
$_Urls = StringRegExp ( $_StdoutRead, '(?s)(?i)URL   = "(.*?)"', 3 )
_ArrayDisplay ( $_Urls )

You will get all urls of IE history.

Or you can try IEHistoryView ! Posted Image

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...