-
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.");})();
网上很多什么想看网页星号密码的问题,解决方案有很多什么星号查看器软件啦,破解cookie啦都是扯蛋,要取出里面的元素js就能
另外,这只是简单的应用,js脚本远比想象中丰满