Contains tips for configurators working with Aware IM
hpl123
Posts: 2598 Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia
Post
by hpl123 » Tue Apr 28, 2020 5:07 pm
Hi all,
Here is how to disable Chrome (and other browsers?) autofill via Jquery. This is for all text fields on a form:
Code: Select all
$("input[type='text']").each(function(){$(this).attr("autocomplete","new-password");});
Henrik (V8 Developer Ed. - Windows)
customaware
Posts: 2405 Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia
Post
by customaware » Wed Apr 29, 2020 5:02 am
Oh My Goodness!.
You my friend are a Steely Eyed Missile Man.
Fantastic.
Thanx Henrik
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
joben
Posts: 230 Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:
Post
by joben » Wed Apr 29, 2020 6:38 pm
I had no idea it was possible to do this via jquery.
Genius!
Regards, Joakim
hpl123
Posts: 2598 Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia
Post
by hpl123 » Fri May 01, 2020 7:34 pm
Yeah, this was a godsend when I found it. I was "certain" it couldn´t be done but after pulling my hair out about this for a long time I decided to find a solution and it was possible
Henrik (V8 Developer Ed. - Windows)