Back to Home Page
The Online Writer
Back to Home Page
MiscelPage
Back to Home Page
Ever and Forever
Back to Home Page
AllShare
Creating a Bookmark
Enabling ****** Password Display

I wanted to see the password hidden beneath the string of ****'s in the password prompt on the site I was trying to enter. I looked around the web a bit, and found that there IS a way to do this but the process is not well documented and - although a bit tricky it is not at all difficult to set up on your PC

I decided to "roll my own" and create a link on my bookmark toolbar that would enable this display. Here we go:
  1. I began with (of course) making sure my Bookmark Toolbar is visible (View Toolbars on the Menu bar). To prepare for the placement of the code, cut (Ctrl-C) the information following the 'Magic Code' on this page (but NOT the words Magic Code, just the data beginning with javascript:(function()) and hold this for a moment on your 'Clipboard'. Then, on the Bookmark Toolbar, Right-Click to create a bookmark entry. I called this entry ‘Unmask’
  2. You will see a new entry dialogue and in addition to the name you must provide a location. The 'location' is what you saved to your clipboard. Now, paste (Ctrl-V) this string of javascript from your clipboard into the Location prompt in your new entry. Make sure the Name is ‘Unmask’ (or whatever your preferred name) then click on 'Add'. Your new button is 'functional' - pun intended!
OK? You're all set, but now you'll want to test what you've created. The following program will do just that - it looks like a login page of some sort but is just a test page; use whatever password you wish. Viewpswd goes nowhere, and the only point of this exercise is to show how Unmask works. Here is the link to test your new Unmask capability:

View Password. Note: after completing the entry and before pressing 'Reset' - test your new Unmask button. After you've tested to your heart's content close the View Password test page. Your Bookmark Toolbar is now set up to unmask those passwords whenever the need arises.

That's all there is to it! If you see anything wrong or that can be improved on, you can reach me here Regarding Unmask. Thanks for looking...
Magic Code:
javascript:(function(){var%20s,F,j,f,i;%20s%20=%20"";%20F%20=%20document.forms;%20for(j=0;%20j<F.length;%20++j)%20{%20f%20=%20F[j];%20for%20(i=0;%20i<f.length;%20++i)%20{%20if%20(f[i].type.toLowerCase()%20==%20"password")
%20s%20+=%20f[i].value%20+%20"\n";%20}%20}%20if%20(s)%20alert("Passwords%20in%20forms%20on%20this%20page:\n\n"%20+%20s);%20else%20alert("There%20are%20no%20passwords%20in%20forms%20on%20this%20page.");})();
00074 hits since May 25, 2020
Site designed and maintained by
MiscelPage  ©1998-