going2killu
Well-Known Member
- Reaction score
- 60
- Author
- going2killu
- Contributors
- N/A
- Quickbar Entry
-
javascript:if(!window.location.href.includes("try=confirm"))throw new Error;document.getElementById("target_incomings")&&document.getElementById("target_incomings").remove(),document.getElementById("target_outgoings")&&document.getElementById("target_outgoings").remove(),$.get(document.getElementsByClassName("village_anchor contexted")[0].firstElementChild.href,function(e){var t,n;$("#commands_incomings",e)[0]&&(t=$("#commands_incomings",e).children()[1].innerHTML,(n=document.createElement("div")).innerHTML=t,n.id="target_incomings",document.getElementById("content_value").prepend(n),$("#target_incomings").find(".rename-icon").each(function(){this.remove()}),$("#target_incomings").find(".widget-command-timer").each(function(){this.parentElement.remove()}),document.getElementById("target_incomings").firstElementChild.rows[0].cells[1].colSpan="1",n.style.width="70%",$(".command-row",$("#target_incomings")).each(function(){var e=this.firstElementChild.firstElementChild.firstElementChild.firstElementChild,t=this.lastElementChild.textContent;e.onclick=function(){return editToggle("default_name_span","edit_name"),document.getElementById("new_attack_name").value=t.trim(),renameAttack("new_attack_name","default_name","attack_name"),editToggle("edit_name","default_name_span"),!1}})),$("#commands_outgoings",e)[0]&&(t=$("#commands_outgoings",e)[0].innerHTML,(n=document.createElement("div")).innerHTML=t,n.id="target_outgoings",document.getElementById("content_value").prepend(n),$("#target_outgoings").find(".rename-icon").each(function(){this.remove()}),$("#target_outgoings").find(".widget-command-timer").each(function(){this.parentElement.remove()}),document.getElementById("target_outgoings").firstElementChild.rows[0].cells[2].remove(),n.style.width="70%",$(".command-row",$("#target_outgoings")).each(function(){var e=this.firstElementChild.firstElementChild.firstElementChild.firstElementChild,t=this.lastElementChild.textContent;e.onclick=function(){return editToggle("default_name_span","edit_name"),document.getElementById("new_attack_name").value=t.trim(),renameAttack("new_attack_name","default_name","attack_name"),editToggle("edit_name","default_name_span"),!1}}))});
- Public?
- Public
This script is run from the attack or support confirmation page, and will show any commands heading to that village, as well as when they land. Easy to use for helping remember snipe and nuke timings.
Upvote
1