1
0
mirror of https://github.com/S2-/pwgen.git synced 2025-08-02 17:00:03 +02:00

4 Commits

Author SHA1 Message Date
s2
1c7ba3298c 1.1.14 2017-11-23 12:26:21 +01:00
s2
5cd436d8eb = 2017-11-23 12:26:00 +01:00
s2
75bbd1d24c add screencast 2017-11-23 09:15:29 +01:00
s2
8b02b259da make it work with 0 2017-11-23 08:53:59 +01:00
5 changed files with 5 additions and 5 deletions

View File

@@ -4,9 +4,9 @@
A firefox addon that generates a password and copies it to the clipboard
![pwgen reloaded in action](img/screenshot.png)
![pwgen reloaded in action](img/cast.gif)
## install
On amo!
[https://addons.mozilla.org/firefox/addon/pwgen-reloaded/](https://addons.mozilla.org/firefox/addon/pwgen-reloaded/)
[https://addons.mozilla.org/firefox/addon/pwgen-reloaded/](https://addons.mozilla.org/firefox/addon/pwgen-reloaded/)

BIN
img/cast.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 KiB

View File

@@ -2,7 +2,7 @@
"description": "Just a toolbar button that generates a password and copies it to your clipboard.",
"manifest_version": 2,
"name": "pwgen reloaded",
"version": "1.1.13",
"version": "1.1.14",
"homepage_url": "https://github.com/S2-/pwgen",
"icons": {
"48": "icons/lock-48.png"

View File

@@ -22,7 +22,7 @@
<div>
<input type="checkbox" id="special" checked="checked" name="special">
<label for"special">include special chars</label>
<label for="special">include special chars</label>
</div>
<div>

View File

@@ -15,7 +15,7 @@ function randPassword(length, includeSpecial) {
}
function generateLength() {
return Math.floor(Math.random() * (1 + getParams().lengthMax - getParams().lengthMin)) + getParams().lengthMin;
return Math.floor(Math.random() * (getParams().lengthMax - getParams().lengthMin + 1) + getParams().lengthMin);
}
function getParams() {