随机字符串生成器

使用此工具从定义的长度和字符集随机生成一个或多个字符串。您一次最多可以生成 10,000 个随机字符串。

'), childWindow.document.write(document.getElementById("input_output").value.replace(/\n/gi, "
")), childWindow.document.write(""), childWindow.print(), childWindow.document.close(), childWindow.close() } 1 == examples && area.val(generateRandomStrings()), $("#generateStr").click(function() { Remember(); var e = generateRandomStrings(); area.val(e), Remember() }), $(".clipboard").click(function() { Clipboard(area) }), $("#clearAll, #edit_delete, #file_new").click(function() { $(".alert").hide(), area.val(""), Remember() }), $("#file_download").click(function() { saveText() }), $("#file_print").click(function() { printTextArea() }), $("#edit_undo").click(function() { var e = History.undo(); void 0 !== e && area.val(e) }), $("#edit_redo").click(function() { var e = History.redo(); void 0 !== e && area.val(e) }), $("#edit_copy").click(function() { Clipboard(area) }), $("#edit_select").click(function() { area.select().focus() }); var History = function() { var t = [], n = 0; return { remember: function(e) { t[n - 1] !== e && (t.splice(n, 10), t.push(e), t.splice(0, t.length - 10), n = t.length) }, undo: function() { if (1 < n) return t[--n - 1] }, redo: function() { if (n < t.length) return t[n++] } } }(); function Remember() { var e = area.val(); History.remember(e) } Remember();