I\'m trying to autosubmit a form with greasemonkey however I\'m not sure how to do it with this button. The button seems to have the following properties
a class
After you have got the username and password fields filled in, do this:
unsafeWindow.Form.submit(document.getElementsByClassName('submit')[0]);
Check unsafeWindow documentation here.
unsafeWindow