diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-04-23 14:22:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 14:22:52 +0200 |
commit | cc02f1f18ce3f9feb2c0e36f12c757b0b72595c3 (patch) | |
tree | 994928a220814593b2829afef3c25f30464edefd | |
parent | 1b931b897c895405ac2d853e1875521d1644b710 (diff) | |
parent | f821a9ea0fa87b7a846791b43a7ca8bb2304fe68 (diff) | |
download | qutebrowser-cc02f1f18ce3f9feb2c0e36f12c757b0b72595c3.tar.gz qutebrowser-cc02f1f18ce3f9feb2c0e36f12c757b0b72595c3.zip |
Merge pull request #5234 from sarg/iss-2111
Trigger input change event in password_fill.
-rwxr-xr-x | misc/userscripts/password_fill | 2 |
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(); } } |