web: stop browser autofill on the name + master fields

The master and pass-overlay inputs are now type=text with a CSS visual mask
(-webkit-text-security) instead of type=password, so the browser never treats
them as password fields — no autofill, no save prompt, no 'suggest strong
password'. Added autocomplete=off + autocapitalize/autocorrect off and
data-1p-ignore / data-lpignore / data-bwignore on the name + master + pass.
This commit is contained in:
Oleksandr Kozachuk
2026-06-08 21:59:16 +02:00
parent d44a54002b
commit db0eb9ebc4
2 changed files with 8 additions and 3 deletions
+5
View File
@@ -150,6 +150,11 @@ input[type="text"], input[type="password"] {
transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(27, 65, 97, 0.12); }
/* Masked TEXT inputs (master, pass overlay): visually masked but type=text, so
the browser never treats them as password fields — no autofill / save / "suggest
strong password". Firefox uses the bundled disc font. */
input.mask { -webkit-text-security: disc; }
@supports not (-webkit-text-security: disc) { input.mask { font-family: "text-security-disc", var(--mono); } }
/* Buttons */
.btn {