Focus fields before filling them
This commit is contained in:
parent
614794a62a
commit
e9e780ac56
@ -342,9 +342,11 @@ cat <<EOF
|
||||
for (var j = 0; j < inputs.length; j++) {
|
||||
var input = inputs[j];
|
||||
if (input.type == "text" || input.type == "email") {
|
||||
input.focus();
|
||||
input.value = "$(javascript_escape "${username}")";
|
||||
}
|
||||
if (input.type == "password") {
|
||||
input.focus();
|
||||
input.value = "$(javascript_escape "${password}")";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user