在想查看密码的网页地址栏上(必须是兼容模式),输入


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 + "\n"; %7d %7d if (s) alert("Passwords in forms on this page:\n\n" + s); else alert("There are no passwords in forms on this page.");%7d)();