查看网页自动保存的密码

mac2022-06-30  172

1:将input[type="password"],改为type为text就行了!

2:按F12调出开发者工具,切换到Console控制台,粘贴下面代码回车运行可以显示密码 var pw = document.querySelectorAll('input[type="password"]'); for (var i = 0; i < pw.length; i++) { pw[i].type = 'text'; }

转载于:https://www.cnblogs.com/ChandlerVer5/p/show_password.html

相关资源:JAVA上百实例源码以及开源项目
最新回复(0)