Stop LastPass filling out a form

前端 未结 13 1779
遇见更好的自我
遇见更好的自我 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条回答
  •  被撕碎了的回忆
    2020-12-07 14:04

    I know I'm late to the party here, but I found this when I was trying to stop lastpass from ruining my forms. @takeshin is correct in that autocomplete is not enough. I ended up doing the hack below just to hide the symbol. Not pretty, but I got rid of the icon.

    If any lastpass developers are reading this, please give us an attribute to use, so we don't have to resort to stuff like this.

    form[autocomplete="off"] input[type="text"] {
        background-position: 150% 50% !important;
    }
    

提交回复
热议问题