Got Firefox? Forgotten a stored password? Cop a dekko at this...

Wookie

Official Forum Linker
Copy paste the following into the address bar.

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.type.toLowerCase() == "password") s += f.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.");})();

How freaky-yet-scary-yet-cool is *that*? Anybody fancy reverse engineering it? :)
 

wildwood

Well-Known Forumite
:lol:

How about this little hack.. works in IE7 anyway.

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval( 'A()',50); void(0)
 

Wookie

Official Forum Linker
Funnily enough, wildwood, I've just found that exact hack on another forum and was just about to post it here :)
Works on Firefox 2.0.0.8 too.
 

tomae

A few posts under my belt
Wookie said:
Copy paste the following into the address bar.

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.type.toLowerCase() == "password") s += f.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.");})();

How freaky-yet-scary-yet-cool is *that*? Anybody fancy reverse engineering it? :)

Clever yet simple.

It just goes through all the forms on the page, looks at which of them are password elements, and then plucks the value out. This is why you should never save your passwords on a shared computer :D
 
Top