Toggle Passwords

Places an eye-icon at the right side of every password field. Clicking this icon toggles the display of all passwords between •••• and text.(submitting a form will allways revert the fields to type=password, to make sure no auto-completion information is stored for these fields by your browser.)

These are versions of this script where the code was updated. Show all versions.

  • v2.0.6 2023-08-02
  • v2.0.5 2019-10-04 re-run script after 1 sec to catch password fields that are added dynamically
  • v2.0.4 2019-10-04 when switching to text, automatically put focus on password field whose icon was clicked; re-added focus ring on button
  • v2.0.3 2019-07-18 positioning
  • v2.0.2 2019-07-17 added background
  • v2.0.1 2019-07-15 removed body background
  • v2.0 2019-07-15 rebuilt with newer techniques
  • v1.0.1 2015-04-02
  • v1.0 2014-08-13