From 3ba7fb6de4270db1310b8624c9f308e858352f4a Mon Sep 17 00:00:00 2001 From: Reto Date: Thu, 21 Oct 2021 03:34:31 +0200 Subject: [PATCH] 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. --- client/components/Windows/Settings.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/components/Windows/Settings.vue b/client/components/Windows/Settings.vue index 6847f705..ce90a66b 100644 --- a/client/components/Windows/Settings.vue +++ b/client/components/Windows/Settings.vue @@ -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" /> @@ -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" />