You are on page 1of 1

javascript:var%20scouts=0;var%20config={victim:'miscellaneous',trainSize:1,units

:{light:10},cookieID:'fake'};var%20targets='503|519 502|518 507|517 504|522 507|


520 508|517 508|515 500|523 504|512 505|524 505|512 507|513 510|517 505|511 505|
525 510|521 510|514 504|510 505|510 509|524 511|515 510|524 506|527 512|514 509|
510 513|517 505|528 511|525 510|510 512|524 509|509 503|529 513|513 500|507 510|
509 509|508 507|507 503|506 512|510 511|527 508|507 514|513 509|507 507|506 512|
527 511|528 503|531 516|519 513|527 511|507 510|530 514|509 512|529 514|527 506|
504 509|531 500|504 510|531 505|533 517|524 506|503 518|514 507|503 514|507 515|
508 518|513 512|505 504|502 519|517 505|502 517|526 519|522 520|518 511|533 519|
512 501|501 501|535 517|508 520|515 520|514 507|535 519|511 516|506 517|507 514|
532 519|510 505|500 505|536 506|536 519|527 520|511 515|504 514|503 508|500 513|
534 521|524 509|536 522|519 504|537 517|531 520|527 506|537 507|537 516|533 515|
534';if(targets.replace(/^\s\s*/,'').replace(/\s\s*$/,'')===''){throw('There%20a
re%20no%20Targets');}var%20coords=targets.split('%20');function%20escapeStr(text
){var%20specials=['/','.',',','~','`','@','#','%','-','_','*','+','?','|','$','=
',':','!','^','<','>','(',')','[',']','{','}','\\'];var%20sRE=new%20RegExp('(\\'
+specials.join('|\\')+')','g');return%20text.replace(sRE,'\\$1');}function%20zer
oPad(number,length){var%20n=number.toString();while(n.length<length){n='0'+n;}re
turn%20n;}function%20fnWriteCookie(index){var%20cookie_date=new%20Date(2099,11,1
1);eleDoc.cookie=vWorld+'$'+config.victim+'$'+config.cookieID+'='+(index+1)+';ex
pires='+cookie_date.toGMTString();}function%20fnAssignUnits(index,isManualReset)
{if((index<0)||(index>=coords.length)){index=0;if(eleDoc.fakeSequence==1){alert(
'cycle%20restarted');}}eleDoc.getElementById('fake_combo').selectedIndex=index;v
ar%20villa=coords[index].match(/(\d+)\|(\d+)/);if(!isManualReset&&(eleDoc.fakeSe
quence<config.trainSize)){eleDoc.fakeSequence++;}else{eleDoc.fakeSequence=(isMan
ualReset?2:1);fnWriteCookie(isManualReset?index-1:index);}var%20eleForm=eleDoc.g
etElementById('units_form');eleForm.x.value=villa[1];eleForm.y.value=villa[2];va
r%20win=(window.frames.length>0)?window.main:window;win.$("input[class=unitsInpu
t]").attr("value","0");var%20count;if(scouts>0){count=parseInt(eleForm.spy.nextS
ibling.nextSibling.innerHTML.match(/\d+/));if(count>0){eleForm.spy.value=Math.mi
n(scouts,count);}}for(var%20unit%20in%20config.units){if(config.units.hasOwnProp
erty(unit)){if((config.units[unit]>0)&&(typeof(eleForm[unit])!="undefined")){cou
nt=parseInt(eleForm[unit].nextSibling.nextSibling.innerHTML.match(/\d+/));if(cou
nt>0){eleForm[unit].value=Math.min(config.units[unit],count);break;}}}}}try{var%
20eleDoc=(window.frames.length>0)?window.main.document:document;if(typeof(eleDoc
.fakeSequence)=='undefined'){eleDoc.fakeSequence=1;}var%20scrape,vScreen=(scrape
=eleDoc.URL.match(/\&screen=(\w+)/i))?scrape[1]:null;var%20vWorld=(scrape=eleDoc
.URL.match(/\/\/(\w+)\./i))?scrape[1]:null;var%20village=eleDoc.getElementsByTag
Name('title')[0].innerHTML.match(/\(\d+\|\d+\)/);if(vScreen=='place'){var%20inde
x=0;var%20twCookie=eleDoc.cookie.match('[^|;]s?'+escapeStr(vWorld+'$'+config.vic
tim+'$'+config.cookieID+'=')+'([^;]*)[;|$]');if(twCookie){index=parseInt(twCooki
e[1],10);}if(!eleDoc.getElementById('fake_combo')){var%20eleInputs=eleDoc.getEle
mentsByTagName('input');if(eleInputs){for(var%20ii=0;ii<eleInputs.length;ii++){i
f(eleInputs[ii].name=='support'){var%20optionList='';for(var%20jj=0;jj<coords.le
ngth;jj++){optionList+='<option>'+zeroPad(jj+1,4)+':'+coords[jj]+'</option>';}el
eInputs[ii].parentNode.parentNode.innerHTML+='<TD%20rowspan="2"><div%20id="fakes
"><table%20class="main"><tr><td%20id="fake_content_value"><span%20style="font-we
ight:bold">Current%20Target:</span><select%20id="fake_combo"%20name="fake_combo"
%20size="1"%20onchange="fnAssignUnits(this.selectedIndex,true);">'+optionList+'<
/select><span%20style="font-weight:100;font-style:italic;text-decoration:none;fo
nt-size:x-small;"><a%20href="http://www.crosstrigger.com"%20target="_blank">%20b
y%20dalesmckay</a></span></td></tr></table></div></TD>';break;}}}}fnAssignUnits(
index,false);}else{throw('Run%20from%20the%20Rally%20point');}void(0);}catch(obj
Err){alert(objErr);}

You might also like