Skip to content

Instantly share code, notes, and snippets.

View gopikrishnareddy93's full-sized avatar

Gopikrishna gopikrishnareddy93

View GitHub Profile

Use JavaScript To View The Passwords

If you don’t want to make changes to a code each time you want to reveal a password, you can use JavaScript that’ll do the job for you in a single-click.

Although the JavaScript to reveal passwords can be run manually from the address bar, you may want to add it to the bookmarks bar so it’s then just a matter of a single-click to execute it.

  1. Click on the star icon next to the address bar in your browser to add a bookmark.
  2. Click on More on the following screen as you need to edit the bookmark before you save it.
  3. On the following screen, enter any name you want in the Name field. For the URL field, copy and paste the following JavaScript code: