Skip to content

Commit

Permalink
Prevent autocomplete for highlight settings (thelounge#4337)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brunnre8 authored Oct 21, 2021
1 parent 21c6abd commit 3ba7fb6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/components/Windows/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 3ba7fb6

Please sign in to comment.