From bce39dd47dddf8faf3baab1a2533ef254bba3008 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Sun, 1 Mar 2026 08:35:25 +0200 Subject: [PATCH] Case insensitive check --- keepassxc-browser/content/form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/keepassxc-browser/content/form.js b/keepassxc-browser/content/form.js index 1977992..48c0dd5 100644 --- a/keepassxc-browser/content/form.js +++ b/keepassxc-browser/content/form.js @@ -67,7 +67,8 @@ kpxcForm.getFormSubmitButton = function(form) { } const hasPasswordClassOrId = (button) => button - && (button?.classList.value?.includes('password') || button?.id?.includes('password')); + && (button?.classList.value?.toLowerCase()?.includes('password') + || button?.id?.toLowerCase()?.includes('password')); const action = kpxc.submitUrl || form.action; // Check if the site needs a special handling for retrieving the form submit button