summaryrefslogtreecommitdiff
path: root/misc/userscripts/password_fill
diff options
context:
space:
mode:
Diffstat (limited to 'misc/userscripts/password_fill')
-rwxr-xr-xmisc/userscripts/password_fill2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/userscripts/password_fill b/misc/userscripts/password_fill
index 7d4be0467..4ebeebdc5 100755
--- a/misc/userscripts/password_fill
+++ b/misc/userscripts/password_fill
@@ -358,11 +358,13 @@ cat <<EOF
if (isVisible(input) && (input.type == "text" || input.type == "email")) {
input.focus();
input.value = "$(javascript_escape "${username}")";
+ input.dispatchEvent(new Event('change'));
input.blur();
}
if (input.type == "password") {
input.focus();
input.value = "$(javascript_escape "${password}")";
+ input.dispatchEvent(new Event('change'));
input.blur();
}
}