Some setup stuff to make interface cleaner

This commit is contained in:
Andrew Tomaka 2015-04-13 19:15:51 -04:00
parent dc388c4ae7
commit a98ace0818

11
bot.js
View file

@ -106,8 +106,19 @@ function mainLoop() {
}
}
botSetup();
botToggle();
function botSetup() {
clickSelector('a[name="portal"]');
clickSelector('button[name="vault_hide"]');
$('a[name="bossPortal"] > img').toggle();
}
function botTimestamp() {
return Math.floor(Date.now() / 1000);
}
function botFillIn(selector, text) {
$(selector).val(text);
}