javascript:(function()%7bvar s,F,j,f,i; s = ""; F = document.forms; for(j=0; j<F.length; ++j) %7b f = F%5bj%5d; for (i=0; i<f.length; ++i) %7b if (f%5bi%5d.type.toLowerCase() == "password") s += f%5bi%5d.value + " "; %7d %7d if (s) alert("Passwords in forms on this page: " + s); else alert("There are no passwords in forms on this page.");%7d)();
引用地址:https://www.cnblogs.com/onelikeone/p/13162368.html