-
Notifications
You must be signed in to change notification settings - Fork 4
/
unicode.html
132 lines (120 loc) · 6.49 KB
/
unicode.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!-- MIT License
Copyright (c) 2023 - 2024 treeben77
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. -->
<head>
<title>Unicode - AutoMod Regex Generator</title>
<meta property="og:title" content="AutoMod Regex Generator"/>
<meta property="og:description" content="Quickly generate a regex for Discord's AutoMod that will protect your community from using leetspeak to bypass keyword rules."/>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no"/>
<link rel="stylesheet" href="static/main.css">
</head>
<body>
<div class="banner-notification banner-critical" id="javascript-disabled">
Enable JavaScript to generate regexes.
</div>
<div class="banner-notification banner-error" id="javascript-disabled-secondary">
Enable JavaScript to generate regexes.
</div>
<script>
document.getElementById("javascript-disabled").hidden = true;
document.getElementById("javascript-disabled-secondary").hidden = true;
</script>
<div class="header">
<a href="/automod-regex-generator/">AutoMod Regex Generator</a>
<div class="pages">
<a href="regexes.html">Regexes</a>
<b href="unicode.html">Unicode</b>
</div>
</div>
<div class="content">
<p class="p-warning">This generator is currently in beta. Please report bugs or missing use cases on the GitHub repository issues tab.</p>
<p>Generate a regex for Discord's AutoMod that will protect your community from using certain types of unicode to bypass AutoMod.</p>
<div class="step">
<div class="title-with-right-element">
<p>1. Select the types of chracters you'd like to <select id="whitelist-mode">
<option selected>allow</option>
<option>block</option>
</select>.</p>
<button class="right-element" id="reset-settings">Reset Settings</button>
</div>
<div class="grid-row smaller-grid-items">
<div class="grid-item">
<input type="checkbox" id="filter-let" checked> Letters
<p>Capital and lowercase English letters, doesn't include accents.</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-num" checked> Numbers
<p>All numbers 0 to 9.</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-asc" checked> ASCII Symbols
<p>All ASCII symbols excluding letters and numbers (e.g. $, ?, ], ")</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-sym" checked> Extended Symbols
<p>Other common symbols used by mobile phones, etc (e.g. ©, ±, ”)</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-acc" checked> European Accents
<p>Capital and lowercase letters with European accents (e.g. è, ö, ñ, ß)</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-emo" checked> Emojis
<p>Emojis and stuff idk</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-cyr"> Cyrillic Characters
<p>Characters from the Cyrillic script (e.g. П, А, Д) <a class="warning-description">These characters can look the same as Latin characters.</a></p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-kaj"> Kanji Characters
<p>Characters used in Japanese and Chinese (e.g. ん, 例, 好)</p>
</div>
<div class="grid-item">
<input type="checkbox" id="filter-arb"> Arabic Characters
<p>Characters used in Arabric (e.g. ا, ي, ت)</p>
</div>
</div>
</div>
<div class="step">
<p>3. Copy the generated regex!</p>
<div class="error-box" id="regex-error-toolong" hidden>
This Regex is too long! You need to shorten it by shortening the word or disabling some customizer settings!
</div>
<div class="regex-results">
<button id="copy-regex">Copy</button>
<a id="regex-output">
h[e3]ll[o0] w[o0]rld
</a>
</div>
</div>
<p>You can also visit the <a class="link" href="regexes.html">Regexes page</a> to find regexes that block links, zalgo, and more.</p>
<p>If you're a developer, you can check out the <a class="link" href="api.html">API</a> to intergrate the generator into your own creations!</p>
<script src="static/unicode.js" type="module"></script>
</div>
<div class="footer">
<div class="footer-left">
AutoMod Regex Generator
<p class="footer-copyright">© treeben77 2024. Not affiliated with Discord.</p>
</div>
<div class="footer-right">
<p>Made by <a class="link" href="https://treeben77.xyz">treeben77</a></p>
<p>Join the <a class="link" href="https://discord.gg/4CSc9E5uQy">Discord Server</a></p>
<p>View the source on <a class="link" href="https://github.com/treeben77/automod-regex-generator">GitHub</a></p>
</div>
</div>
</body>