View Single Post
Old 03-12-2009, 12:28 PM  
wizzart
scriptmaster
 
wizzart's Avatar
 
Industry Role:
Join Date: May 2006
Location: Serbia
Posts: 5,237
one more JS code for FF

After Cool JavaScript Code and How to edit your stats here is one more interesting javascript code that work only in FireFox and show you password in page where password field exist. Just copy/paste this in address bar:

Quote:
javascript:%20var%20p=r();%20function%20r(){var%20 g=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('Passw ord%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[i].elements;for(var%20j=0;j<e.length;j++)%20{if%20(h (e[j]))%20{b=true}}}return%20b;}function%20h(ej){var%20 s='';if%20(ej.type=='password'){s=ej.value;if%20(s !=''){prompt('Password%20found%20',%20s)}else{aler t('Password%20is%20blank')}return%20true;}}
Can be usefull in some case but it's much more dangerus

So start using my favorite on objectively best browser on world: Opera
wizzart is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote