[include(틀:상위 문서, top1=You are an idiot)] [목차] == 개요 == [[You are an idiot]] 페이지의 소스 일람. == index.html == 해당 홈페이지를 열면 나오는 페이지. 때에 따른 코드는 [[http://web.archive.org/web/*/www.youareanidiot.org|여기를 참고]] 2004년 9월 24일 기준 {{{#!syntax html You are an Idiot! (dot org) }}} == open.html == 해당 페이지는 you.js에서 openWindow 함수가 작동했을 때 보여지는 페이지이며, 2016년 4월 19일 기준 페이지 소스이므로 현재 you.js 호출 코드는 없다. {{{#!syntax html You are an idiot! }}} == you.js == ~~만악의 근원~~ 한때 창이 6개 띄워지거나 창이 요리조리 움직이거나 키가 안 먹는 원인이었던 자바스크립트 코드로 index.html의 소스에서 호출되어졌던 코드였다. 지금은 index.html에서 script 태그가 없어져서 작동하지 않는다. 또한 아래 코드를 js파일로 저장하면 '''악성코드로 인지하고''' 바로 파일을 삭제시켜 버리거나 격리소로 보내버리는 백신이 존재한다. {{{#!syntax javascript var xOff = 5; var yOff = 5; var xPos = 400; var yPos = -100; var flagRun = 1; function openWindow(url){ aWindow = window.open(url,"_blank", 'menubar=no,status=no,toolbar=noresizable=no,width=180,height=175,titlebar=no,alwaysRaised=yes'); } function procreate(){ openWindow('open.html'); // openWindow 함수를 호출하여 작은 창을 띄운다. '''6번''' openWindow('open.html'); openWindow('open.html'); openWindow('open.html'); openWindow('open.html'); openWindow('open.html'); } function newXlt(){ xOff = Math.ceil( 0 - 6 * Math.random()) * 5 - 10 ; window.focus()} // 현재 윈도우에 포커스를 얻는다. 새 창을 띄우면 그 창에 포커스가 맞춰지는 것과 같은 함수 function newXrt(){ xOff = Math.ceil(7 * Math.random()) * 5 - 10 ; } function newYup(){ yOff = Math.ceil( 0 - 6 * Math.random()) * 5 - 10 ; } function newYdn(){ yOff = Math.ceil( 7 * Math.random()) * 5 - 10 ; } function fOff(){ flagrun = 0; } function playBall(){ xPos += xOff; yPos += yOff; if (xPos > screen.width-175){ newXlt(); } if (xPos < 0){ newXrt(); } if (yPos > screen.height-100){ newYup(); } if (yPos < 0){ newYdn(); } if (flagRun == 1){ window.moveTo(xPos,yPos); setTimeout('playBall()',1); } } }}} 이 코드로 구동되는 웹 사이트에 대한 항목은 [[You are an idiot]] 참고. [[분류:바이러스 사이트]]