如何禁用保存密码提示在chrome
how to disable save password prompt in chrome
我已经搜索了几个小时这个问题,但没有找到任何合适的解决方案,问题是我有三个输入表单在我的页面上每次我保存表单值它要求我在chrome中保存密码我怎么能解决这个问题使用JavaScript或查询
<input type="password" autocomplete="off"/>
我已经尝试过autocomplete='off'
,但它不工作
最好的方法是将密码类型更改为文本,并将字符替换为星号或点。
change <input type="password" /> to <input type="text" id="password" style="-webkit-text-security: disc;"/>
还有其他选项:
input { -webkit-text-security: none; }
input { -webkit-text-security: circle; }
input { -webkit-text-security: square; }
input { -webkit-text-security: disc; /* Default */ }
autocomplete="off"
是正确的代码,但是许多浏览器不希望支持它。他们想让用户选择,而不是代码本身。所以你可以写,但是浏览器可以选择不读
相关文章:
- Chrome WebKitGetUserMedia
- JQueryhide()不适用于Mozzilla,但适用于Chrome
- 在chrome.tabs.onCreated之后加载HTML页面
- chrome扩展中的navigator.geolocation.getCurrentPosition
- chrome扩展:尽管运行了at:documentidle,js脚本还是过早启动
- document.open/document.write没有正确地清除chrome中的文档——这是chrome的错误吗
- chrome扩展更改主机/域警告
- Chrome开发工具(如何知道我在调用哪个javascript对象)
- 如何在chrome扩展中重定向到html页面
- 如何从 Chrome 中的文件输入中删除“未选择文件”工具提示
- Chrome提醒/提示显示在屏幕外
- 引导工具提示在chrome中不起作用
- 显示来自javascript Chrome书签的提示
- 如何处理用户在Firefox和Chrome中关闭“物理位置”提示
- 如何禁用保存密码提示在chrome
- 在chrome扩展应用程序中更改浏览器操作工具提示上的标题
- Chrome (WINDOWS)在提示消息后缺少光标
- 为什么我的工具提示在Firefox中闪烁而不是Chrome ?
- 为什么Chrome浏览器不显示允许或禁止使用麦克风和网络摄像头的提示?
- 如何使工具提示自动出现在使用页面操作的 chrome 扩展程序中