I'm away from my PC right now, but I do this in Conqueror. I just use document.getElementById() and set the text. I experienced weird behavior when I added a form.submit() to the end. Javascript isn't really my forte, but this method has worked when I've needed it.
Conquer Clubs public API
http://www.conquerclub.com/api.php does not help in this case.
EDIT: Here is the exact Javascript I use in Conqueror:
- Code: Select all
//0 and 1 are the username and password respectively.
document.getElementById("username").value="{0}";
document.getElementById("password").value="{1}";
I would recommend constructing your code around this failing as a site redesign could kill your program otherwise and that's not ideal.