如何查看 搜狗浏览器 保存的网站密码
场景:时间长了,很容易忘记当时设置的密码是啥,那么如何查看搜狗浏览器保存的密码呢?如何查看明码?
1. 例如以博客园(密码忘记了)为例:
首先打开登录界面:https://account.cnblogs.com/signin
2. 停留在登录界面,然后在浏览器地址栏输入如下信息,然后回车就可以看到密码了:
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)();
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)();