How to force browser to remember passwords [Tip]

Have you ever tried to force your web browser to remember passwords? There are many ways in which people all over the world try to remember their passwords. Some people use a password manager, whereas some others use other apps to remember passwords. But, there are many sites that do not allow your browser to remember passwords you have entered. So what can you do?

By following the tips given below, you can get your browser to save passwords for those sites that prevent you from saving the passwords. Before we look into the trick, let’s see why certain sites do not allow us to save our passwords.

How Certain Websites Keep Browsers from Saving Passwords

The reason why certain sites do not allow our browser to remember passwords is that they have set the autocomplete to off. The autocomplete functionality was introduced way back in IE 5 and it prevents autocomplete from working in fields where it is turned off. One of the common sites that does not allow the user id or password to be remembered is PayPal.

Trick or Force Your Browser to Remember Passwords

It is quite simple to fix the issue and get your browser to remember passwords. It is a Javascript (JS) fix that needs to be done carefully. You must edit the JS file and find this attribute in it and then change the value to “ON.” Simple, right!

Well, not so fast. Here you go.

Script to Force Your Browser to Remember Passwords

“javascript:(function(){var%20ab,d,g,ma,me,mea,p,q,r;ab=”autocomplete”;d=0;g=document.forms;for(p=0;p<g.length;p++){ma=g[p].attributes;for(q=0;q<ma.length;q++){if(ma[q].name.toLowerCase()==ab){ma[q].value=”on”;d++;}}me=g[p].elements;for(q=0;q<me.length;q++){mea=me[q].attributes;for(r=0;r<mea.length;r++){if(mea[r].name.toLowerCase()==ab){mea[r].value=”on”;d++;}}}}alert(“Enabled%20′”+ab+”‘%20on%20″+d+”%20objects.”);})();”

Once you run this script, your browser will start remembering the password you have entered for the user.

Force Firefox to Remember Passwords

If you are using Mozilla Firefox browser and you are on a website that does not allow your browser to remember passwords, then you need to run the above given JS script. After running the script, a pop-up message will be displayed that says something like: “Auto Complete is enabled.” Once this message is displayed, you need to enter your user ID and password and you will be shown a message asking you to save the password you have entered.

When you visit the site next time, you have to enter your user ID and then press tab, it will automatically populate the password.

Force Your IE to Remember Passwords

If you are using the IE browser to visit a website that does not allow your browser to remember passwords, then you need to run the above given JS script. After running the Java script, a pop-up window will be displayed that shows a message like “Auto Complete is enabled.” After this message is displayed, you need to enter your user ID and password and you will be shown a message asking you to save the password you have entered.

When you visit the site next time, you will have to run the Java Script again and then enter your user ID and then press tab, it will automatically populate the password.

When it comes to a trick to get the Google Chrome browser to remember passwords, unfortunately, this trick does not work, so, if it is your browser of choice, you’ll have to live with typing in your passwords.

Related Posts

  • chris miraillet

    error in the script in firefox 56