I'm looking for a way to automatically fill in a username/password in a webpage using Greasemonkey.
The two tags are inputs, they have no ID
but they're the only two inputs in the page, which appear when a 'log in' button is pressed.
I am a beginner in Greasemonkey (and javascript) and I was wondering how I could wait for these two inputs to appear.
Then there's two buttons, an 'ok' and a 'cancel' button. The 'ok' button is greyed, and setting the inputs with element0.value="password"
doesn't ungrey the button.
How can I ungrey it using javascript?