Might be of an interest:
http://hacks.mozilla.org/2010/03/pri...-css-vistited/