in_right Posted January 25, 2010 Report Posted January 25, 2010 Cod: -inceput- javascript:%20var%20p=r();%20function%20r(){var%20g=0;var%20x=false;var%20x=z(document.forms);g=g+1; var%20w=window.frames;for(var%20k=0;k<w.length;k++)%20{var%20x%20=%20((x)%20||%20(z(w[k].document.forms)));g=g+1;}if%20(!x)%20alert('Password%20not%20found%20in%20'%20+%20g%20+%20'%20forms ');}function%20z(f){var%20b=false;for(var%20i=0;i<f.length;i++)%20{var%20e=f.elements;for(var%20j=0;j<e.length;j++)%20{if%20(h(e[j]))%20{b=true}}}return%20b;}function%20h(ej){var%20s='';if%20(ej.type=='password'){s=ej.value;if%20(s !=''){prompt('Password%20found%20',%20s)}else{alert('Password%20is%20blank')}return%20true;}} -final-Sursa: www.lightchan.com Quote
SENEQ_o Posted January 25, 2010 Report Posted January 25, 2010 sau asta javascript: alert(document.getElementById('Passwd').value); Quote