As a kid I remember mercurochrome and merthiolate both contain mercury. And I remember Iodine as well. Not sure if they're still made haven't seen them in a long time. I suppose it worked but I like the modern Neosporin and it's analogs better although if it's bad I'll still apply a liberal amount of Hydrogen peroxide first.
I, too, played with mercury blobs in school.