colin's thoughts
Browser History Sniffing

Browser history sniffing is such a neat idea. I have to admit, at first I didn’t catch on to this idea. But when I did understand, the practical situations outlined in that blog post were very eye opening. I especially liked the OpenID example. And immediately, the Prototype way of getting all the links and processing them seemed simple to me.

HTML

<div id="testLinks" style="display: none;"> <a href="http://www.google.com"></a> </div>

JS

$$('.testLinks a:visited').each( function(link) { ... } );

via 43Folders

Sorry about the code formatting. I had counted on Markdown handling it nicely, but the Wordpress plugin apparently does not.