Some setup stuff to make interface cleaner
This commit is contained in:
parent
dc388c4ae7
commit
a98ace0818
1 changed files with 11 additions and 0 deletions
11
bot.js
11
bot.js
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue