Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 413 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 413 Bytes

jquery.disable-autofill

Disable Chrome's autofill. Handy for CRUD forms, when you don't want username/password inputs to be autofilled by the browser.

Usage:

<form>
  <input type="input" name="username" autofill="off">
  <input type="password" name="password" autofill="off">
</form>

<script src="jquery.disable-autofill.js"></script>
<script>
  $('input[autofill="off"]).disableAutofill();
</script>