When i try to create this script in greasemonkey it does not work but
when i put it in mozilla's standart JavaScript redactor i got what i
need.
There is the page: http://ogame.ru
There is my code:
function LogMeIn()
{
var Server=document.getElementById('serverLogin');
document.getElementById('serverLogin').options[Server.selectedIndex].value='uniurl';
document.getElementById('serverLogin').options[Server.selectedIndex].title='uniname';
setUniUrl(Server.options[Server.selectedIndex].value);
document.getElementById('usernameLogin').value='Mypass';
document.getElementById('passwordLogin').value='Mylogin';
document.getElementById('loginSubmit').click();
}

window.onload=Log LogMeIn();

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to