Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why save wrong username value with remember password function?

  • 3 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Boby88

more options

I use ztInputHint jQuery plugin with default settings (use title tag in input field) to fill the input fields with a pre-set text. My problem: the Firefox password manager saves the password field's title as username value. When I turned off the jQuery plugin everything works well. How can i fix this issue? I know about the placeholder attribute but that is not as the same.

I use ztInputHint jQuery plugin with default settings (use title tag in input field) to fill the input fields with a pre-set text. My problem: the Firefox password manager saves the password field's title as username value. When I turned off the jQuery plugin everything works well. How can i fix this issue? I know about the placeholder attribute but that is not as the same.

所有回覆 (3)

more options

It looks like the google code version of the plugin uses the title by default: https://code.google.com/p/ztinputhint/

However if its not compatible with Firefox, it may not work properly.

more options

Does that field has a type="password" or type="text" attribute?

The Firefox password manager saves the password field (type="password") and uses the field with type="text" that appears in the DOM just before that password field as the user name.

more options

Username has a type="text" attribute, and password field's type is password. And username is before the password field. If i disable the plugin. FF saves username and password correctly, but with enabled plugin it saves the password's title as username. I tried to change name attribute to username and password only but nothing changed.