|
This javascript password generator will create a random password
every time you click the button. I wrote the javascript password
generator when I needed to generate
thousands of random passwords for a website I was working on.
The javascript password generator allows you to set the characters and length to suit your
particular requirements. In the example above the javascript password generator is set to generate a random
password with 10 characters.
You can use the javascript password generator code to create your own javascript
password generator which you
can tailor to your own password requirements and generate a random password everytime you use it. The javascript password
generator is a good way of creating a random password
to protect sensitive files, web pages or email accounts.
You can add as many or as few characters to 'theCharacters'
variable at the top of the password generator code. In this example I chose to
use just lowercase and numbers, but it is possible to include
uppercase and special characters such as !%^* as well, just add
them to the list and the javascript password generator will pick random characters from
the list and use them in your password.
Javascript Password Generator
Simply click inside the window below, use your cursor to highlight
the javascript, and copy [Control]+C the javascript into a new file in
your text editor (such as Note Pad) and save [Control+S].
|