EntropySink

Technical & Scientific => Programming => Topic started by: micah on April 26, 2012, 05:04:05 PM

Title: Saw this javascript snippet on a website today
Post by: micah on April 26, 2012, 05:04:05 PM
Code: [Select]
document.write('<noscript><a href="'+noscriptHref+'><img scr="'+noscriptSrc+'></a></noscript>');
 :rofl2:

Can anyone think of a valid reason to do this? It just seems so idiotic but there has to be a reason someone wrote their code that way, right? :dunno:
Title: Re: Saw this javascript snippet on a website today
Post by: ober on April 26, 2012, 11:12:09 PM
Doesn't make any sense to me.