{"id":16057610,"url":"https://github.com/aduth/jquery.passwordmask","last_synced_at":"2025-07-05T01:07:37.818Z","repository":{"id":5256533,"uuid":"6434512","full_name":"aduth/jquery.passwordMask","owner":"aduth","description":"jquery.passwordMask is a jQuery plugin to allow users the ability to toggle password masking","archived":false,"fork":false,"pushed_at":"2013-11-24T20:07:41.000Z","size":168,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T22:35:06.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://aduth.github.com/jquery.passwordMask/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aduth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-29T02:06:52.000Z","updated_at":"2013-11-24T20:07:42.000Z","dependencies_parsed_at":"2022-09-23T21:42:13.118Z","dependency_job_id":null,"html_url":"https://github.com/aduth/jquery.passwordMask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aduth/jquery.passwordMask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fjquery.passwordMask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fjquery.passwordMask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fjquery.passwordMask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fjquery.passwordMask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aduth","download_url":"https://codeload.github.com/aduth/jquery.passwordMask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aduth%2Fjquery.passwordMask/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263641608,"owners_count":23493420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T03:03:54.826Z","updated_at":"2025-07-05T01:07:37.787Z","avatar_url":"https://github.com/aduth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery.passwordMask\r\n\r\n__jquery.passwordMask__ is a jQuery plugin to allow users the ability to toggle password masking. By default, it renders a checkbox that, when clicked, will unmask the password field, allowing the user to read the entered value. This provides two key advantages for login and sign-up forms: (1) it grants users the ability to check for and correct typos, and (2) it would remove the need for the second password field used to ensure matching values.\r\n\r\nCredit for the idea is due to Anthony T, author of the Smashing Magazine article \"[Better Password Masking For Sign-Up Forms](http://uxdesign.smashingmagazine.com/2012/10/26/password-masking-hurt-signup-form/)\"\r\n\r\n## Demo\r\n\r\nTo get an idea for how the plugin works, visit the demo site:\r\n\r\n[http://aduth.github.com/jquery.passwordMask/](http://aduth.github.com/jquery.passwordMask/)\r\n\r\n## Usage\r\n\r\n#### Default (no options)\r\n\r\n    \u003cinput type=\"password\" id=\"pwd_noparam\"\u003e\r\n\r\n    \u003cscript\u003e\r\n        $(document).ready(function() {\r\n            $('#pwd_noparam').passwordMask();\r\n        });\r\n    \u003c/script\u003e\r\n\r\n#### Shown by default\r\n\r\n    \u003cinput type=\"password\" id=\"pwd_shown\"\u003e\r\n\r\n    \u003cscript\u003e\r\n        $(document).ready(function() {\r\n            $('#pwd_shown').passwordMask({ isShown: true });\r\n        });\r\n    \u003c/script\u003e\r\n\r\n#### Custom toggle text\r\n\r\n    \u003cinput type=\"password\" id=\"pwd_customtext\"\u003e\r\n\r\n    \u003cscript\u003e\r\n        $(document).ready(function() {\r\n            $('#pwd_customtext').passwordMask({ toggleText: 'Make password visible' });\r\n        });\r\n    \u003c/script\u003e\r\n\r\n#### Custom toggler\r\n\r\n    \u003cinput type=\"password\" id=\"pwd_customtoggle\"\u003e\r\n    \u003cbutton id=\"btn_toggler\"\u003eToggle Password Visibility\u003c/button\u003e\r\n\r\n    \u003cscript\u003e\r\n        $(document).ready(function() {\r\n            $('#pwd_customtoggle').passwordMask('#btn_toggler');\r\n            // OR: $('#pwd_customtoggle').passwordMask($('#btn_toggler'));\r\n            // OR: $('#pwd_customtoggle').passwordMask({ toggler: '#btn_toggler' });\r\n            // OR: $('#pwd_customtoggle').passwordMask({ toggler: $('#btn_toggler') });\r\n        });\r\n    \u003c/script\u003e\r\n\r\n## License\r\n\r\nReleased under the MIT License (see LICENSE.txt)\r\n\r\nCopyright (C) 2012 Andrew Duthie","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduth%2Fjquery.passwordmask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faduth%2Fjquery.passwordmask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faduth%2Fjquery.passwordmask/lists"}