User:AHRtbA==/monobook.js/archive2

/*var vanNum="1"; //Set default Vandalism Number var lastVanNumIndex=0; //Set default IndexOf vanNum var editArea=""; window.onload=function{test;if(window.location.href.indexOf("User:AHRtbA%3D%3D/testvandal&action=edit")!=-1){addWarning;}} function test { //document.title.indexOf("Action Complete")>0&& //&&wgAction=="rollback" //if(wgUserGroups.indexOf("rollbacker")>0){ document.getElementsByTagName("a")[1].href+="?action=edit&vandalism=true&pagename="+wgPageName; //} } function addWarning { var months=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); editArea=document.getElementById("wpTextbox1"); var alreadyWarnedMonthIndex=editArea.value.indexOf("=="+months[Number((new Date).getMonth)]+" "+(new Date).getFullYear+"=="); if(alreadyWarnedMonthIndex>-1) { lastVanNumIndex=alreadyWarnedMonthIndex; vanNum=getVanNum; if(vanNum==false){return false;} editArea.value+=unescape("\n%7B%7Bsubst:uw-vandalism"+vanNum+"%7D%7D %7E%7E%7E%7E"); } else { editArea.value+=unescape("\n%3D%3D"+months[Number((new Date).getMonth)]+" "+(new Date).getFullYear+"%3D%3D\n%7B%7Bsubst:uw-vandalism1%7D%7D %7E%7E%7E%7E"); } document.getElementById("wpSummary").value="Warning vandal: warning #"+vanNum; } function getVanNum{for(i=1;i<5;i++){if(editArea.value.indexOf("")==-1&&editArea.value.indexOf("")lastVanNumIndex){alert("Warning Admins!");warnAdmin;return false;}alert("Opps... that one passed right by me!\n\nThe reason this failed because I couldn't find the next template to put on this page");return false;}

function warnAdmin { var filldiv=document.createElement("div"); filldiv.id="filldiv"; filldiv.style.zIndex="1"; filldiv.style.border="solid 3px #000000" filldiv.style.position="absolute"; filldiv.style.width="800px"; filldiv.style.height="500px"; filldiv.style.top=((document.documentElement.clientHeight/2)-280)+"px"; filldiv.style.left=((document.documentElement.clientWidth/2)-500)+"px"; filldiv.style.backgroundColor="#ffffff"; document.getElementById("bodyContent").appendChild(filldiv); filldiv=document.getElementById("filldiv"); filldiv.innerHTML=" "; }