Upload files to "/"
parent
d298d5be44
commit
eec736f0b9
|
@ -62,6 +62,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<label><input type="checkbox" id="number" checked> Include Numbers</label><br>
|
||||
<label><input type="checkbox" id="russian" checked> Include Russian characters</label><br>
|
||||
<label><input type="checkbox" id="chinese" checked> Include Chinese characters</label><br>
|
||||
<label><input type="checkbox" id="japanese" checked> Include Japanese characters</label><br>
|
||||
|
@ -94,6 +95,7 @@
|
|||
<script>
|
||||
function generatePassword() {
|
||||
// Character sets
|
||||
const numberChars = '0123456789'
|
||||
const russianChars = 'АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';
|
||||
const chineseChars = '你好世界abc'; // Add more characters as needed
|
||||
const japaneseChars = 'こんにちは世界'; // Add more characters as needed
|
||||
|
@ -105,6 +107,7 @@ function generatePassword() {
|
|||
|
||||
// Get selected character sets
|
||||
let charSet = '';
|
||||
if (document.getElementById("number").checked) charSet += numberChars;
|
||||
if (document.getElementById("russian").checked) charSet += russianChars;
|
||||
if (document.getElementById("chinese").checked) charSet += chineseChars;
|
||||
if (document.getElementById("japanese").checked) charSet += japaneseChars;
|
||||
|
|
Loading…
Reference in New Issue