Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'View hidden web passwords' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View hidden web passwords
Authored by: smiliek on Oct 05, '12 09:10:34AM

I use this bookmarklet for years now. Almost works the same as the one you have listed above, but has dialogs.

javascript:
<code>(function()%7Bvar%20s,F,j,f,i;%20s%20=%20%22%22;%20F%20=%20document.forms;%20for(j=0;%20j%3CF.length;%20++j)%20%7B%20f%20=%20F%5Bj%5D;%20for%20(i=0;%20i%3Cf.length;%20++i)%20%7B%20if%20(f%5Bi%5D.type.toLowerCase()%20==%20%22password%22)%20s%20+=%20f%5Bi%5D.value%20+%20%22%5Cn%22;%20%7D%20%7D%20if%20(s)%20alert(%22Passwords%20in%20forms%20on%20this%20page:%5Cn%5Cn%22%20+%20s);%20else%20alert(%22There%20are%20no%20passwords%20in%20forms%20on%20this%20page.%22);%7D)();
</code>

It pops up a nice dialog warning you if it can't find one on the page.

K :)



[ Reply to This | # ]