首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 方法,以防止微软互联网浏览器10密码显示按钮(又名眼睛符号图标)从透露明确的文字密码。

方法,以防止微软互联网浏览器10密码显示按钮(又名眼睛符号图标)从透露明确的文字密码。

  • 资源大小:75.96 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

There has been a privacy concern on Microsoft Internet Explorer 10 - Reveal Password button feature (aka eye symbol icon). IE users can disable this feature via group policy. Web developers can disable it via IE browser specific "::-ms-reveal" pseudo element. From developer"s perspective, the first solution is out of reach as user"s group policy settings cannot be controlled. Unfortunately, the second option works only in IE 10 document mode. It will not work if a web site is rendered as a lower version of IE for compatibility reason (i.e. 7, 8 , 9). With this in mind, we developed a simple JavaScript solution that can seamlessly mask user password characters in password input field. This solution allows developer to retrieve the password via a JavaScript variable call. Demo: http://yehg.net/lab/pr0js/training/view/misc/IE-10_NoPeeping/ Try yourself: 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

文 件 列 表

ie10_nopeeping.js
jquery-1.9.1.js
RELEASE_2013-04-14
VIP VIP
0.163129s