搜尋 Mozilla 技術支援網站

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

了解更多

how can I prevent the password manager pop up

more options

At the login page, when a user enter his/her password, firefox prompt the password manager to store the username and password, how can I prevent the FF from storing or autofill Password Input field using javascripts or Jquery

At the login page, when a user enter his/her password, firefox prompt the password manager to store the username and password, how can I prevent the FF from storing or autofill Password Input field using javascripts or Jquery

所有回覆 (3)

more options

Do you mean it is your webpage, and you do not want users to be able to fill the login automatically?

Browsers no longer allow sites to easily bypass password managers using the autocomplete attribute, as explained here: https://developer.mozilla.org/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion-The_autocomplete_attribute_and_login_fields.

You may want to search around on the web for other ideas.

more options

I have tried this already we were able to block the password manager on IE and Chrome with these codes " @readonly = "readonly", onfocus = "$(this).removeAttr('readonly');" but it failed on Firefox

more options

Interesting. But please check developer-oriented sites to pursue this question. E.g., Where to go for developer support.