How to hide remember me option in browser | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to hide remember me option in browser

I need user not save password in browser In my webapplication I do not want to allow the user to save password in browser. I'm using java, tomcat as web server and browser version chrome 83.0.4103.106 and firefox version 74.0 I have using automatic complete off in my login form it does not work.

19th Jun 2020, 11:32 AM
SGB
5 Answers
+ 8
SGB I edited your post appropriately to reflect the new details. I haven't tested these personally. But see if these SO answers help you any way: https://stackoverflow.com/a/37292424/9191510 https://stackoverflow.com/a/49114022/9191510
22nd Jun 2020, 9:51 AM
Lord Krishna
Lord Krishna - avatar
+ 1
Dear Krishna Thank you for your response, In my webapplication I won't user to allow save password in browser. I'm using java, tomcat as web server and browser version chrome 83.0.4103.106 and firefox version 74.0 I have using automatic complete off in my login form it does not work.
22nd Jun 2020, 9:31 AM
SGB
+ 1
Dear Krishna, thank you for quick replying. I'm using <input type="text" name="UserName" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" > <input type="password" name="Password" autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" > but it doesn't work
22nd Jun 2020, 10:13 AM
SGB
0
Which browser?
19th Jun 2020, 12:53 PM
Ore
Ore - avatar
0
I need to hide both firefox and chrome browser's
19th Jun 2020, 3:20 PM
SGB