first commit

This commit is contained in:
Patrick
2026-05-01 20:02:13 +02:00
commit 75fb753fc0
77 changed files with 4793 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// ═══════════════════════════════════════════════════════
// String Escape
// ═══════════════════════════════════════════════════════
async function escapeOp(op) {
const text = document.getElementById('escInput').value;
if (!text) return setStatus('escStatus','error','Enter text.');
const d = await apiPost('/api/' + op, { text });
if (d.success) { document.getElementById('escOutput').value = d.result; setStatus('escStatus','success', op === 'escape' ? 'Escaped ✓' : 'Unescaped ✓'); }
else setStatus('escStatus','error', d.error);
}