Reading the visisted URLs with a firefox extension

I wanted to write an extension that would log all the URLs that I visited in Firefox. The goal of this exercise was to create a search engine that searches and caches all the information that I personally access and perhaps generates citations for that information as well.

This document exists for me to personally document the progress of such an extension:

http://stackoverflow.com/questions/873071/firefox-3-extension-javascript...

https://developer.mozilla.org/en/NsIWebProgress