搜尋 Mozilla 技術支援網站

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

Learn More

Password generator does not appear on some sites firefox

  • 2 回覆
  • 1 有這個問題
  • 834 次檢視
  • 最近回覆由 astyd637

more options

Idk why but sometimes firefox just doesn't prompt to generate secure password, I even have to download some extensions to generate secure password (Secure Password Generator) meaning more secure issues.

My guess is that you guys probably hardcoded something like {if "type: password" then prompt}, but it's still partly fault at developers too for bringing these huge chunks of javascript.

In screenshot there's element examaple in which i input password but no prompt whatsoever.

Idk why but sometimes firefox just doesn't prompt to generate secure password, I even have to download some extensions to generate secure password (Secure Password Generator) meaning more secure issues. My guess is that you guys probably hardcoded something like {if "type: password" then prompt}, but it's still partly fault at developers too for bringing these huge chunks of javascript. ''In screenshot there's element examaple in which i input password but no prompt whatsoever.''
附加的畫面擷圖

被選擇的解決方法

I guess the solution for me is to never use this feature again as it'll never work properly.

從原來的回覆中察看解決方案 👍 1

所有回覆 (2)

more options

As you can see in the screenshot, this input field has a type="text" attribute and not type="password". Firefox needs a type="password" field to detect this as a login form although current releases can handle a multi page login form (i.e. one page with the username and a second page with the password field; about:config => signon.usernameOnlyForm.enabled).

I posted a bookmarklet in this thread that you can place on the Bookmarks Toolbar that can fix (toggle) the type of an input field or possible add an extra (hidden) password filed to trigger a save login dialog.

You need to set focus to the username or password field and then click the bookmarklet to invoke the JavaScript. If this doesn't work then may post a link, so I can check out this form.

由 cor-el 於 修改

more options

選擇的解決方法

I guess the solution for me is to never use this feature again as it'll never work properly.