Don't call form.submit(), it breaks sites (Google, AWS, etc) (#52)
This commit is contained in:
@@ -144,10 +144,7 @@
|
||||
submit.focus();
|
||||
}
|
||||
} else {
|
||||
// There is no submit button. Try to submit the form itself.
|
||||
if (request.autoSubmit && loginForm) {
|
||||
loginForm.submit();
|
||||
}
|
||||
// There is no submit button.
|
||||
// We need to keep focus somewhere within the form, so that Enter hopefully submits the form.
|
||||
var password = find(PASSWORD_FIELDS, loginForm);
|
||||
if (password) {
|
||||
|
Reference in New Issue
Block a user