I would like for this script to be able to process history files from Firefox as well as Internet Explorer.
This is a big feature to add because the file format for Firefox history is very different from Internet Explorer and much more difficult to understand.
There is an open-source perl app that can do it called mork.pl which might make a good reference.