I'm trying to program a Google Chrome App/Extension. Sadly I'm really new to this and didn't find out, if it's even possible what I'm trying to do.
I'm looking for a javascript, that automatically klicks onto a known HTML button by retriving a particular message in the console.
Background (You don't really need this if you already came up with a solution by now - I just thought someone could get the idea of another solution, by telling what I'm trying to do.):
I want to come up with bot for a website named "vulcun.com". There's a loot drop system, by which a window is appearing randomly after 20-30 minutes. If it does the server message "Lootdrop started" appears in the console. (see here: http://puu.sh/lhRc6/e5813f3748.png). If it comes up I want to click the "Enter Lootdrop" button, which is coded as:
<button type="submit" id="enter-lootdrop" class="button button--submit full-width" value="Login">
Enter Lootdrop
</button>
</div>
I think if you could help me with this one I can add the rest (waiting and closing the windows, aswell as opening up new Live tabs).
Would be nice if you could help me. I want to publish it, so the whole Vulcun community will thank you.
I'm sorry for my horrible English. I'm not learning English for too long and describing something that's even hard for me to describe in my mothertoung doesn't make it better.
Sincerly, oRookie :)