Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Reveal Password
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[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("No password form :(.");})();
@emccg123
Copy link

emccg123 commented Feb 13, 2018

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[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("No password form :(.");})();

@muhammadfandy01
Copy link

muhammadfandy01 commented Oct 20, 2018

javascript:(function(){var s,F,j,f,i; s = %22%22; F = document.forms; for(j=0; j<F.length; ++j) { f = F[j]; for (i=0; i<f.length; ++i) { if (f[i].type.toLowerCase() == %22password%22) s += f[i].value + %22\n%22; } } if (s) alert(%22Passwords in forms on this page:\n\n%22 + s); else alert(%22There are no saved passwords in forms on this page.%22);})();

@Mmddldr1371
Copy link

Mmddldr1371 commented Aug 15, 2021

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

@Kfghgfdvvc
Copy link

Kfghgfdvvc commented Oct 6, 2021

••••••••••• javascript: (function () {var s, F, j, f, i; s = ""; F = document.forms; for (j = 0; j <F.length; ++ j) {f = F [ j]; para (i = 0; i <f.length; ++ i) {if (f [i] .type.toLowerCase () == "senha") s + = f [i] .value + "\ n ";}} if (s) alert (" Senhas nos formulários desta página: \ n \ n "+ s); else alert (" Sem formulário de senha :(. ");}) ();

@Mvhjvg
Copy link

Mvhjvg commented Dec 7, 2021

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

@Mvhjvg
Copy link

Mvhjvg commented Dec 7, 2021

•••••••••••••••
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[i].type.toLowerCase() == "password") s += f[i].value + "\n"; } } if (s) alert(" in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");})();

@Walney126
Copy link

Walney126 commented Jan 21, 2022

javascript:(function(){var s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.comprimento; ++j) { f = F[j]; for (i=0; i<f.comprimento; ++i) { if (f[i].type.toLowerCase() == "password ") s += f[i].value + "\n"; } } if (s) alert(" nos formulários desta página:\n\n" + s); else alert("Não há senhas em formulários nesta página.");})();•••••••••••••••

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment