how can I prevent the password manager pop up
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)
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.
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
Interesting. But please check developer-oriented sites to pursue this question. E.g., Where to go for developer support.