I doubt if there’s any way to actually delete history entries in any cross-browser way. You could probably do it with a nonportable script in your browser of choice, though I don’t know how.
An easier way might be to tell your server to add a random query string (or the date and time, or whatever) to the links you’re interested in, so that every time you reload the page you get a URL you haven’t seen before. That is, rather than <a href=“link.html”>…</a> you have <a href=“link.html?20100214123456”>…</a>.
Why would you have a different sprite state for a visited link if you don’t want users to see the “visited” version of the link? If you have some conditional that determines whether or not the user should see the visited, you could just use two seperate classnames or ids, such as
I didn’t not want the users to see visited links. I wanted them to be able to reset the page. It was simply a demonstration of the sprite technique. A user could see link image. They could hover over it to see the hover image. They could click it to see the visited image. And finally they could reset the page to go back to being able to see the link image.