Author Topic: Saw this javascript snippet on a website today  (Read 1693 times)

micah

  • A real person, on the Internet.
  • Ass Wipe
  • Posts: 6915
  • Karma: +58/-55
  • Truth cannot contradict truth.
    • micahj.com
Saw this javascript snippet on a website today
« 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:
"I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.  I use it to look at pictures of cats and get in arguments with strangers."

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: Saw this javascript snippet on a website today
« Reply #1 on: April 26, 2012, 11:12:09 PM »
Doesn't make any sense to me.