Skip to content

Commit

Permalink
Add character limit (thamk again auria)
Browse files Browse the repository at this point in the history
  • Loading branch information
OvercastWarmth authored Aug 12, 2023
1 parent 49572e4 commit 666653f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script>
function check() {
let notice;
if (/^[a-z0-9 ,.]*$/.test(document.getElementById("input").value)) {
if (/^[a-z0-9 ,.]{0,3200}$/.test(document.getElementById("input").value)) {
notice = "Your input was found in the library of babel! It is therefore leaked on the internet.";
} else {
notice = "Input not found, you are safe!";
Expand Down

0 comments on commit 666653f

Please sign in to comment.