Do you share a computer with someone?
Have you ever visited a URL that you're not exactly
Wish you could delete it from the Internet Explorer history list?
Well sit back and crack open a beer,
because let me tell you, your troubles are over!
This amazing application allows you to edit and remove those tell-tale
Internet Explorer history items!
As powerful and amazing as this might sound, you do not need
to be a blackbelt MSCE to do this. In reality, this application is
basically a viewer into a very small part of the registry.
While beginners might find it useful to see how the list control editing
and sneaky key interception is done, the code itself is very simple;
there are no advanced or ground-breaking techniques here.
I just thought I'd share this amazing utility with the world - free of charge!
How it works
It reads the
registry key. This is where the IE history list for the current user
is stored. Note that this is the IE drop-down history, not the
auto-complete history (I couldn't find the auto-complete history anywhere in
the registry). After reading them, the strings are placed into a list control
CListCtrl) and the user is allowed to edit the strings and mark them as
deleted. When the user quits, it writes the new list back to
the registry. Apparently, IE only reads this list from the registry when
it starts, and writes this list when it exits; so you will have to shut down IE
to use this (or this and IE will overwrite each other's URL list).
The list control is the most interesting part of this app. It
allows in-place editing, icons and multi-select. If
you're new to list controls, this might be informative.
The code to handle the delete and backspace keys (to mark URLs as "deleted")
is accomplished by overriding
PreTranslateMessage and watching for
the appropriate messages. This might be nice to look
at, if you've never done this before.
The registry class is from
This will let you see it in action.
That's about it.
This was written with IE v6.0. I don't know if other IE versions keep their history in the same
place. If not, oh well. What do you expect for free?
It was Antihistamine, (anti-hista-mine → anti-history, mine → get it?)
but I thought was a bit too subtle. AntiHisto is easier to figure out.
You'll have to figure this out on your own.