javascript:function%20end(){c='xxx|yyy';var%20d=document;if(window.frames.length>0)d=window.main.document;url=d.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');a=c.match(/(\d+\|\d+)/g);b=a[Math.round(Math.random()*(a.length-1))].split("|");d.forms[0].x.value=b[0];d.forms[0].y.value=b[1];d.forms[0].spear.value=0;d.forms[0].sword.value=0;d.forms[0].axe.value=0;d.forms[0].spy.value=1;d.forms[0].light.value=3;d.forms[0].heavy.value=0;d.forms[0].ram.value=0;d.forms[0].catapult.value=0;d.forms[0].snob.value=0;d.forms[0].archer.value=0;d.forms[0].marcher.value=0;d.forms[0].knight.value=0;}end();
Use this one:the co-ordinate picker (dalesmckay's co-ordinate picker) is not working. Anyone have the updated version of it?
javascript: var win=(window.frames.length>0)?window.main:window; var coords=[]; var outputID='villageList'; var encodeID='cbBBEncode'; var isEncoded=true; function fnRefresh(){win.$('#'+outputID).val(coords.map(function(e){return isEncoded?'[coord]'+e+'[\/coord]':e;}).join(isEncoded?'\n':' '));} win.$(win.document).ready(function(){ if(win.$('#'+outputID).length<=0){ if(win.game_data.screen=='map'){ var srcHTML= '<div id="coord_picker">'+ '<span style="color:blue;text-decoration:underline;">dalesmckay\'s co-ordinate picker v7.1:</span><br/><br/>'+ '<input type="checkbox" id="cbBBEncode" onClick="isEncoded=this.checked;fnRefresh();"'+(isEncoded?'checked':'')+'/>BB-Codes<br/>'+ '<textarea id="'+outputID+'" cols="40" rows="10" value="" onFocus="this.select();"/>'+ '</div>'; ele=win.$('body').append(win.$(srcHTML)); win.TWMap.map._handleClick=function(e){ var pos=this.coordByEvent(e); var coord=pos.join("|"); var ii=coords.indexOf(coord); if(ii>=0){ coords.splice(ii,1); } else{ coords.push(coord); } fnRefresh(); return false; }; } else{ alert("Run this script from the Map.\nRedirecting now..."); self.location=win.game_data.link_base_pure.replace(/screen\=\w*/i,"screen=map"); } } }); void(0);
javascript:$.getScript('https://dl.dropboxusercontent.com/s/u6f4fro64tbcovr/Tsalkapone.Advanced_Coords_Extractor_ek.js');void 0;
javascript:$.getScript('https://dl.dropboxusercontent.com/s/9m6y4nwjs9luyoh/Tsalkapone.Map_scripts.js');void 0;
I got this error when trying to use my troop counter script:
A script in your Quick Bar attempted to load another script over an insecure connection.As part of the security model of your web browser, scripts can only be loaded from URLs starting with https://The URL that could not be loaded was: http://www.crosstrigger.com/tw/v7/troop_counter.js
Is there some way I can change my browser preferences to allow http:// website scripts? I assume this is a browser issue as stated in the error message and not the game developers but please tell me if I'm wrong. I use FF and Opera. Thanks!
I'm going to bump this, seeing the same issue on opera and chrome, with this troop counter and the dalesmckay troop counter
javascript:(window.main||window).$.getScript('https://scripts.ibragonza.nl/troop_counter/troop_counter.js');void 0;
javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;
Code:javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;
using chrome and hot key. Each time it opens a new tab and doesn't work. Any ideas?
javascript:var coords='521|695 519|691 507|687 508|687 518|689 518|690 507|690 508|688 508|689 509|693 506|690 524|695 522|696 523|698 525|698 525|699 507|689 505|686 523|697 523|699';var doc=(window.frames.length>0)?window.main.document:document;if(doc.forms[0].x.value==""){var index=0;var last="";timers=[];nukecookie=document.cookie.match('(^|;) ?nuke=([^;]*)(;|$)');if(nukecookie!=null)index=parseInt(nukecookie[2]);coords=coords.split(" ");if(index==coords.length-1)last="Last village!";if(index>=coords.length)index=0;var coordxy=coords[index];coordxy=coordxy.split("|");index=index+1;cookie_date=new Date(2020,02,13);document.cookie ="nuke="+index+";expires="+cookie_date.toGMTString ();doc.forms[0].x.value=coordxy[0];doc.forms[0].y.value=coordxy[1];doc.getElementsByTagName("h3")[0].innerHTML="Attacking village (" + (index) + "/" + coords.length + ") "+last;}selectAllUnits(true);if(doc.forms[0].spy.value>3)doc.forms[0].spy.value=doc.forms[0].spy.value-30;void(0);
Anyone having difficulties with Ntoomb+?
javascript:$.getScript('https://dl.dropboxusercontent.com/s/j8zzp5mdvh42ri1/LAxMaCz.js');void(0);
V
javascript:$.get('https://scripts.ibragonza.nl/enhancer/enhancer.js');void(0);
good morning, some time ago a friend gave me this script, in which from combined overview you could calculate the plan directly from here without moving to external sites. If someone has it I would be grateful if they would turn it over to me, or solve this because it no longer works. I would like to use it in Italy
javascript: S.getScript ( 'https://media.innogamescdn.com/com_DS_BR/Scripts/Aprovados/planejador_de_ataques.js'); vuoto ...