Prevent autocomplete for highlight settings (#4337)

Chrome seems to somewhat often auto fill the text input of the
highlight exception list with my username as the next field that
follows is of type password.
Try to work around that by telling chrome not to autofill either of
those.

Do note that this is only a hint... The broser vendors apply some
$magic heuristics and if they trigger they ignore the hint.
This commit is contained in:
Reto 2021-10-21 03:34:31 +02:00 committed by GitHub
parent 21c6abdd1d
commit 3ba7fb6de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -386,6 +386,7 @@ expressions, it will trigger a highlight."
type="text"
name="highlights"
class="input"
autocomplete="off"
placeholder="Comma-separated, e.g.: word, some more words, anotherword"
/>
</label>
@ -410,6 +411,7 @@ your nickname or expressions defined in custom highlights."
type="text"
name="highlightExceptions"
class="input"
autocomplete="off"
placeholder="Comma-separated, e.g.: word, some more words, anotherword"
/>
</label>