Users have repeatedly encountered a situation where they need to see the password hidden under the asterisks. The functions of modern browsers allow you to save passwords for forms, that is, after re-entering the resource, you will see the entered data: login and password, and you no longer need to enter them again, you just need to click the Login button.
Of course, the save password feature is very useful, but not secure, since an attacker can easily find out the hidden password under the asterisks or capture data from the browser (cookies, passwords, history, bookmarks, etc.). It’s not a fact that you will be interested in some hacker, but it’s better to play it safe and not save passwords, but write them down on a piece of paper or store them in the database of special software.
There are countless sites on the network that allow users to log in using data such as login and password, these can be forums, online stores and regular blogs. The data entry format is the same in most cases. So, how to see the password in this form in the browser if it is hidden?
Done, now instead of dots or asterisks, exactly the password will be visible in the form that we wanted.
The example is considered in the Google Chrome browser. Same with the rest of the reviewers. For example, in Opera, right-click and select View Element Code. In Yandex browser and others, a similar principle.
Microsoft Edge is a little different:
Any browser has a function to save passwords, you can also see them there (Reading:). In the latest version of Google Chrome, this is done as follows:
Important! For security reasons, it is better to delete all saved passwords from the browser and store them in a more secure place, such as the KeePass 2 program.
There is a method that allows you to view all the passwords available in the forms. If the element code failed to reveal the password, then this method will be used.
Here is the javascript code:
Copying JavaScript code
javascript:(function()(var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j
We go to the site where you need to enter a password. We write something in the field, and then paste this code into the address bar. Do not rush to press Enter, since at the very beginning of the code you need to write "javascript:". The first time you paste this part of the code is cut off.
Now press Enter and see the password, which is in the corresponding field.
In order not to insert the script every time, we will do the following:
Now, every time you need to see the hidden password under the dots, click on this tab and the script will be activated.
There is a ShowPassword extension for this browser. It has an open source code, which means that you will not find any viruses and other unclean heresy there. Install the extension and try it in action.
After activation, we enter data on any site and simply hover the mouse cursor over the Password field. The password will be displayed immediately.
ShowPassword offers 4 options to view the browser's masked password:
From the extension store, install Show/hide passwords . Now the user can easily find out the hidden password in the browser. A "Show" and "Hide" button will appear next to the field.