Hey all,

I'm a member of the website Paiq.nl, but the log in sequence annoys me, so i figured i'd write a greasemonkey script that logs me in automatically.

One problem though.. when i looked at the code, i noticed this was perhaps the weirdest source i've ever seen..

I can prefill the username and password boxes, alright.. But i can't seem to submit the form, or click the log in button or whatever..

my code so far:
PHP Code:
 var password getElementsByClassname('password')[0];
password.value 'MyPassword';

var 
button getElementsByClassname('button')[0];
//button.click() doesn't work :( 
Please help me "press the log in button" over at http://www.paiq.nl/chat