From 42cad31cc71d53ccb04a8637ba2cc07c3ad8bbf9 Mon Sep 17 00:00:00 2001 From: Steve Gilberd Date: Sat, 24 Oct 2026 14:52:21 +1300 Subject: [PATCH] Use prefix match for Drupal exception --- src/js/selectors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/selectors.js b/src/js/selectors.js index 020f0e8..f59c3dd 100644 --- a/src/js/selectors.js +++ b/src/js/selectors.js @@ -205,7 +205,7 @@ for (const s of ["new", "confirm", "change", "edit"]) { for (const t of ["password", "pass", "secret"]) { for (const attr of ["name", "id", "class", "placeholder", "title", "aria-label"]) { targetSelectors.push({ - selector: `input[${attr}*=${s} i][${attr}*=${t} i]:not([autocomplete~=current-password i],[data-drupal-selector=edit-pass i])`, + selector: `input[${attr}*=${s} i][${attr}*=${t} i]:not([autocomplete~=current-password i],[data-drupal-selector^=edit-pass i])`, type: "blacklist", }); }