Stop LastPass filling out a form

前端 未结 13 1776
遇见更好的自我
遇见更好的自我 2020-12-07 13:38

Is there a way to prevent the LastPass browser extension from filling out a HTML-based form with a input field with the name \"username\"?

This is an hidden field,

13条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 14:11

    Tried the -search rename but for some reason that did not work. What worked for me is the following:

    1. mark form to autocomplete - autocomplete="off"
    2. change the form field input type to text
    3. add a new class to your css to mask the input, simulates a password field
    4. css bit: input.masker { -webkit-text-security: disc; }

    Tried and tested in latest versions of FF and Chrome.

提交回复
热议问题