How to Reveal hidden Passwords behind asterisks

When we browse any website in our system, we normally save the password that makes our job easy as it’s not required to enter the password again. But, since you are not typing your password anymore, eventually you forget your password after few days. Now, here is the problem because although you can login to your website you don’t know what is your password. Since, the password field is masked in asterisks for security reasons, even though it is there you can’t see it or don’t know what it is. So, here is the work around that let you reveal passwords behind asterisks for website.

1. Google Chrome:

Option One

1. Open the website in Google Chrome browser.

2. Right click in the password field in the browser and click on the “Inspect (Ctrl+shift+I)” option.

Inspect Element

3. The “Web Inspector” section will open up with all the html code behind the website.

CodeBehind

4. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

TypetoText

Option two:

The other ways is just using JavaScript code, which is quite easy as you need to enter the below code in the address bar and click enter.

Javascript: alert(document.getElementById(‘Passwd’).value);

A window will pop up with the password written on it.

PopUpWindow

2. Internet Explorer:

Option One

1. Open the website in Internet Explorer browser.

2. Press F12 to bring the “developer tool” section i.e. again the html code behind the website. Click on the arrow icon (or Press Ctrl+B) to enable the selection of elements. Now click on the password field, doing this code for that section will be highlighted by yellow.

3. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

Option two:

The other way to reveal the hidden password behind asterisks is to just enter the JavaScript code below in the address bar and click enter.

alert(document.getElementById(‘Passwd’).value);

A window will pop up on the screen with the password written on it.

3. Mozilla Firefox:

Option One

1. Open the website in Mozilla Firefox browser.

2. Right click in the password field in the browser and click on the “Inspect Element” option.

3. The “Web Inspector” section will open up with all the html code behind the website. You need to replace “password” with “text” in the type option. The hidden password behind masked asterisks will be revealed as normal text.

Option two:

The other ways is using JavaScript code, where you need to create a bookmark with the below code as URL in it.

javascript:(function(){var s,F,j,f,i;s=””;F=document.forms;for(j=0;j<f.length;++j){f=F[j];for(i=0;i<f.length;++i){if(f[i].type.toLowerCase()==”password”)s+=f[i].value+”n”;}}if(s)alert(“Password is:nn”+s);else alert(“No passwords”);})();

Once, done open the site for which you need to reveal the password and click on the saved bookmark. A window will pop up with your password written on it.

Point to remember, if you can use these tricks to reveal the password, others can also use it to see your password. So, you need to be aware and keep your things safe.

You may like to read: How to remove saved passwords from your browser individually


You May Also Like

Ranjit Ranjan

A workaholic. Most of the time, you will find me spending time on my laptop trying to learn new things. And rest of the time you will find me in Office.

Leave a Reply