为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

problen with my web page and Lockwise

  • 2 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 peter358

more options

I have created a web page with a number of edit boxes - the last of which is for entering a password. There is no edit box for a username - (not required!). The Firefox Lockwise function is a bit too clever in that it sees the word 'Password' in the label for the last edit box and concludes (wrongly) that the preceding edit box is a username and prompts to select from a list of pre-saved usernames. I do not want to disable the Lockwise function globally. However I do want to prevent it from prompting for a username on my web page - not only for me but for everyone else viewing my web page. Is there something I can add to the HTML or php code which will fix the problem?

I have created a web page with a number of edit boxes - the last of which is for entering a password. There is no edit box for a username - (not required!). The Firefox Lockwise function is a bit too clever in that it sees the word 'Password' in the label for the last edit box and concludes (wrongly) that the preceding edit box is a username and prompts to select from a list of pre-saved usernames. I do not want to disable the Lockwise function globally. However I do want to prevent it from prompting for a username on my web page - not only for me but for everyone else viewing my web page. Is there something I can add to the HTML or php code which will fix the problem?

所有回复 (2)

more options

It is not about the password label, but about the type="password" attribute of the input field. When Firefox sees such a field then it assumes that the previous field with type="text" is the name field. So maybe you should reorder the fields or try to add a name field that is not hidden in the DOM, but isn't visible on the page.

more options

Thank cor-el. Of course I should have realised that it was the input type = password rather than the text 'password' that made firefox do what it does. The obvious question, now is " is there anything I can do to the previous text boxes to prevent firefox from assuming they are username fields?"