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

2 Commits

Author SHA1 Message Date
s2
b22bfe6a89 v1.1.22 2017-12-02 14:46:43 +01:00
s2
bb39fb0363 use only special ascii chars 2017-12-02 14:46:17 +01:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -1,7 +1,7 @@
function randPassword(length, includeSpecial, exclude) { function randPassword(length, includeSpecial, exclude) {
let pwdChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; let pwdChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
if (includeSpecial) { if (includeSpecial) {
pwdChars += ' !"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~eB€ƒ„…†‡ˆ‰ŠŒŽ“”•˜™šœžŸ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ'; pwdChars += '!"#$%&\'()*+,-./:;<=>?@[\]^_`{|}~';
} }
if (exclude) { if (exclude) {