Merge branch 'focuspass' of https://github.com/paretje/qutebrowser into paretje-focuspass

This commit is contained in:
Florian Bruhin 2016-07-27 00:15:15 +02:00
commit 8f42fcf627

View File

@ -342,10 +342,14 @@ 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}")";
input.blur();
}
if (input.type == "password") {
input.focus();
input.value = "$(javascript_escape "${password}")";
input.blur();
}
}
};