[Greasemonkey] Login script,
problem with international chars and privacy concerns
Arvid Andersson
u57vs8 at hotmail.com
Fri Aug 18 15:28:13 EDT 2006
Hello.
I am new to greasemonkey, I am trying to write a script that will
automatically log in to a website that requires a username and a password.
The password manager does not work on this site for som reason. I can enter
data into the login fields with the following code:
var username = document.getElementById("navbar_username");
username.value = "sample_uname";
var password = document.getElementsByName("vb_login_password");
password[0].value = "sample_pword";
However, my username contains swedish characters and they become garbled if
I enter them this way. I also tried replacing them with html code ("ö")
but that did not work either. Is there a way to specify the character
encoding for a userscript? Perhaps that would solve the problem.
A second concern is that the password is stored in plain text. I wonder if
it is possible to use the firefox password manager from the script?
I appreciate any help. Arvid Andersson.
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the Greasemonkey
mailing list