I made some improvements on the password strength meters available on the web. Using prototype/scriptaculous, I stole some code from ZeBadger (thanks!) and created a new meter which dynamically changes while typing your password. Useful for form valida…
]]>e.g. in my opinion, “Life is like a box of chocolates!” is cryptographically far stronger than “qQ123$%” Your script disagrees with me however, giving the former a score of around 40% and the latter a score of 100%.
]]>shortly,
1. i entered the demo page.
2. copied my notepad all of the code.
3. downloaded strength.jpg, prototype/prototype.js and scriptaculous/scriptaculous.js
4. put on the right file.
and it was not worked. although i entered the my password (such a$Ti12.) but strenght-bar was never increased.
Can you help me?
]]>Cheers,
]]>To adjust for the additional scores change all “intScore = (intScore+5)” to “intScore = (intScore+3)”
To prevent the bar graph from overflowing on very long passwords add:
if (intScore > 32)
{
intScore = 32
}
Tolga and Mat, make sure you also get effects.js.
Use Firefox with Developer Tools or just add “/effects.js” to the URL to download it.
Cheers,
]]>http://ajaxorized.com/examples/scriptaculous/pastrength/scriptaculous/effects.js
and add it.
]]>and it solved my problem.
Thank you ![]()