Skip to content

Instantly share code, notes, and snippets.

@FernandoBontorin
Created November 16, 2021 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FernandoBontorin/c288f316389f75483dd7fa53e15bf1d7 to your computer and use it in GitHub Desktop.
Save FernandoBontorin/c288f316389f75483dd7fa53e15bf1d7 to your computer and use it in GitHub Desktop.
Tribal Wars: Favorite code to run all farm at barbarian using B preset troops
javascript: var time = 0; function exec(e){time += 250; setTimeout(()=>{e.click()}, time)}; Array.from(document.getElementsByClassName("farm_icon_b")).forEach(x=>exec(x));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment