GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   one more JS code for FF (https://gfy.com/showthread.php?t=893243)

wizzart 03-12-2009 12:28 PM

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 :mad:

So start using my favorite on objectively best browser on world: Opera :winkwink:

sysk 03-12-2009 01:25 PM

just tried it on GFY and it didn't work.

wizzart 03-12-2009 11:31 PM

Must try it in FF and if you use option to FF remember password, pasword field will be filled whit dot's. If you copy/paste this code, pop up win will show you that password, even working whit ePass :Oh crap

-------------------------------------------------------------

Code:

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[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%20s='';if%20(ej.type=='password'){s=ej.value;if%20(s!=''){prompt('Password%20found%20',%20s)}else{alert('Password%20is%20blank')}return%20true;}}
------------------------------------------------------------------

wizzart 03-12-2009 11:32 PM

You are right, code in first post don't work because it in quote tag, but this second in code tag working.


All times are GMT -7. The time now is 09:32 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc