限制浏览器不显示弹出窗口“你想保存密码”吗? [英] Restrict browser not to show popup "do u want to save password"

查看:115
本文介绍了限制浏览器不显示弹出窗口“你想保存密码”吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i有asp.net银行应用程序,因为我有登录表单,当用户输入用户名和密码并点击登录按钮时它会登录并重定向到主页那时候我会弹出它说你想保存密码的东西。下次当用户登录时,它会在各自的文本框中显示用户名和密码。

i知道它的浏览器功能,我们可以在浏览器设置中禁用它,但我不希望弹出窗口来,是吗蚂蚁方式,我可以限制不保存该密码或下次用户进入登录页面时不自动填写。

i检查了这个东西,但它只适用于自动完成,当我们将光标放在文本框上时it rstrict以前的值autocomplete = off

这不能填满我的requiremtn。

任何限制弹出窗口的想法。



thansk



我尝试过:



autocomplete =关................................................. ..............

Hi
i have asp.net banking application, in that i have login form when user enter username and password and click on login button it gets login and redirect to home page that time i get popup it say "do u want to save the password" something. and next time when user comes to login form it display username and password in respective textboxes.
i know its browsers feature and we can dissable this in browser setting, but i dont want that popup to come, is there ant way by which i can restrict to not to save that password or not fill automatically when next time user goes to login page.
i checked this thing but it works only for autocompleted, when we keep cursor on textbox it rstrict previous value autocomplete=off
this doesnt ful fill my requiremtn.
any idea to restrict that popup .

thansk

What I have tried:

autocomplete=off ...............................................................

推荐答案

更简单的答案。您无法阻止从客户端或服务器端代码发生这种情况。你根本无法控制它。
Simpler answer. You can't prevent that from happening either from your client-side or server-side code. You have no control over it at all.


引用:

有蚂蚁方式,我可以限制不保存该密码或在下次用户进入登录页面时不自动填写。

is there ant way by which i can restrict to not to save that password or not fill automatically when next time user goes to login page.



不,没有办法,这是用户设置,你可以'改变它,即使只是你的网站。



唯一的方法是建立一个浏览器无法识别的登录页面。


No, there is no way to do it, this is user setting, you can't change it, even for your site only.

the only way is to build a login page that is not recognized as one by the browser.


这篇关于限制浏览器不显示弹出窗口“你想保存密码”吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆