News for hackers. Stuff that matters.
Re:A webapp based on a browser bug on visited links color by nestlequ1k on Sunday September 27, 2009 @09:13AM (#846809)
can anyone explain the browser bug they are leveraging?
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.
Re:A webapp based on a browser bug on visited links color by Gmo on Sunday September 27, 2009 @09:28AM (#846825)
It's using the :visited css pseudo-class. If you put visited link in a different color in your css, you can then check what is the current color of the link with Javascript, and from that infer wether the link has been visited or not
Re:A webapp based on a browser bug on visited links color by _ck_ on Sunday September 27, 2009 @09:33AM (#846831)
I guess that's one more IP to block in the firewall.