I wrote this function, because I often used other password generators but pressed the 'generate' button as long as I had
at least one digit and one special character in the generated result.
That annoyed me so i created a bookmarklet that generates 20 passwords that have a predefined number of different characters in it.
Some might say, that this is not so secure because the passwords are generated with a fixed pattern, but maybe you can
use it and adjust it for your requirements (e.g. add some variance).
Drag this Generate Passwords
Bookmarklet into your browser bar if you like it.