Reveal Asterisk Password using Javascript!

I got it from here

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("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

While opening the page with asterisk password,  copy and paste this code on URL bar, it'll search and reveal every password boxes (that use name="password")

1 comment:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog.
    Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Online Training from India .
    or learn thru JavaScript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai