How to Make Chrome Remember Passwords

Related articles

14 Responses

  1. b says:

    You’re missing a “}” at the end…

    (function () {
    var e = document.querySelectorAll(“input[autocomplete=off]”);
    for (var i = 0; i < e.length; i++) {
    e[i].setAttribute("autocomplete", "on");

  2. Jeff F says:

    Have named a new bookmark and entered to url as above. I then go to the url I want to memorize and enter the login info, clicked on the bookmark with the javascript, but nothing happens at that time or after I enter the submit

  3. Kevin says:

    Thanks for the help!

  4. Marcus says:

    Aha! I have been struggling on this. Unfortunately, Chrome does not allow to add passwords and sites from the settings popup. You can only view it. This method works fantastic when to force Chrome on adding a new password.

    And if you are updating the password for a site and chrome is not showing the prompt for updation, then simply go the settings page, view passwords and remove the saved password for the site. Now go back to the update password page of the site and hit enter. Chrome will now ask you to save new passwords.

  5. Oleg Sobakin says:

    This still doesn’t work on https login page. Too bad :(

    • Abhishek Mandloi says:

      Can you please elaborate on the problem here @@olegsobakin:disqus

    • Oleg Sobakin says:

      You see the problem was that I tried to save my password in chrome on ebay site and some other site as well, these sites are normally http but when you click sign in button it goes to login page which is https and when I entered my login and password Chrome didn’t offer me to save password. Then I tried to use that java script, still didn’t work. Later that day I rebooted my PC and then in the evening when I logged in to ebay it offered me to save password – boom! Weird situation.

    • Abhishek Mandloi says:

      Glad to know that the situation resolved itself. May be there was a Chrome bug and the reboot applied the update. Nonetheless, this should not be happening.

  6. Mahe Sagar says:

    hi bro.,
    i added a bookmark to chrome., but a small doubt.,
    should i paste this from #java script or (function) .,
    thanks in advance :D

  7. Kelly Bloxom Andino says:

    I am trying to make this work, but i am confused. Do I replace the whole existing URL with the code above or do I add it to the end???

    • Kemcho says:

      If the website has disabled saving passwords, you need to paste the given code by replacing the URL of the page which has the password field. Note that Chrome might remove “javascript:” at the beginning of the code, so you will have to manually type it.

      Let me know if you face more challenges.

  8. A says:

    That bookmarklet worked like a charm, I was finally able to save the password for the one website that wouldn’t do it.

Leave a Reply

Your email address will not be published. Required fields are marked *