Disable Firefox's Auto-fill

前端 未结 11 1324
天涯浪人
天涯浪人 2020-12-03 13:54

Is it possible to disable Firefox\'s auto-fill feature without disabling auto-complete?

I know I can do this:

autocomplete=\"off\"
<         


        
11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 14:15

    Firefox only honors autocomplete="off" on the form, not individual elements (unlike IE).

    Another option is to change the field names to strange things like name="_u_sern_ame" to confuse any field recognition systems if you want to disable the autofill of someones details.

提交回复
热议问题