Thursday, June 7, 2012

hello frndzzz:

  • today i m gona tell u the trick to reviel the pass word hidden behind the astric(*)
  • wat u wana do is that just follow the instructions and experience the learning......
  • we make use of a java script to paerform this task.
  • do try it nd make ur frndzzz astonished...

so here we go...


JavaScript to Reveal Hidden Passwords in Asterisk (Stars)

Reveal Password Asterisk

  • To use this JavaScript, open your web browser, open the webpage for which the password is hidden in asterisks, copy and paste the following code in the address bar.



javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k<w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i<f.length;i++) {var e=f[i].elements;for(var j=0;j<e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}



nd now u find a DILOG BOX like this shown below showing the password 

 Asterisk Star Password



hope u oll enjoy doing it........

@bhishek...

No comments:

Post a Comment