Can you put a drop down for where to work?

About: Gladiatus AutoPlay

Can you put a drop down for where to work? So it would work as a farmer or Butcher

Réponses

  • I added this to line 191 and it selects butcher

    document.getElementById("job_row_4").click('select');

  • i make next update in december and integrate it but not with getElementById because is a bad habit

  • script has been updated and include some function including the select for work time ty for your comment
    now i explain you why getElementById is a bad habit
    when you do a DOM query with that is only for 1 element with a id
    the same for getElementsByClassName
    but with querySelector('CSS expresion') you can obtain a more specific element or elements in a array using querySelectorAll
    for example querySelector('div#id div.class span.otherclass a') is a very specific element

Connectez-vous ou Inscrivez-vous pour répondre.