News for hackers. Stuff that matters.
Re:A webapp based on a browser bug on visited links color by adrinavarro on Sunday September 27, 2009 @09:30AM (#846827)
Not really a browser bug:

   <style>
   .first:visited {background:url(visited-ycombinator.png)}
   .second:visited {background:url(visited-twitter.png)}
   #layer {text-indent:-10000px}
   </style>
   <div id="layer">
      <a href="http://news.ycombinator.com/ class="first">first</a>
      <a href="http://www.twitter.com// class="second">second</a>
   </div>
That code will hit a PNG file if you visited the link. Now just replace the PNG for a pixel beacon which logs every hit and it's done.

There are no comments on this comment yet.