-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (41 loc) · 1.94 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JavaScript Obfuscator</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100 text-gray-800 font-sans">
<header class="bg-teal-700 text-white py-4 text-center">
<h1 class="text-2xl font-bold">Online JavaScript Obfuscator Protector Tool</h1>
<p class="text-sm mt-2">Secure your JavaScript code with ease.</p>
</header>
<main class="p-6 max-w-4xl mx-auto">
<section id="input-section" class="mb-6">
<h2 class="text-xl font-semibold mb-2">Enter Your JavaScript Code</h2>
<textarea id="input-code" class="w-full h-40 p-3 border border-gray-300 rounded-md focus:ring focus:ring-teal-300" placeholder="Paste your JavaScript code here..."></textarea>
</section>
<section id="options-section" class="mb-6">
<h2 class="text-xl font-semibold mb-2">Select Obfuscation Method</h2>
<select id="obfuscation-method" class="w-full p-3 border border-gray-300 rounded-md">
<option value="ascii">ASCII Characters</option>
<option value="base64">Base64 Encoding</option>
</select>
</section>
<section id="action-section" class="mb-6">
<button id="obfuscate-button" class="w-full bg-teal-700 text-white py-3 rounded-md hover:bg-teal-800 focus:ring focus:ring-teal-300">
Obfuscate Code
</button>
</section>
<section id="output-section" class="mb-6">
<h2 class="text-xl font-semibold mb-2">Obfuscated Code</h2>
<textarea id="output-code" class="w-full h-40 p-3 border border-gray-300 rounded-md bg-gray-100" readonly placeholder="Your obfuscated code will appear here..."></textarea>
</section>
</main>
<footer class="text-center py-4 bg-gray-200">
<p class="text-sm">© 2024 JavaScript Obfuscator Tool</p>
</footer>
<script src="script.js"></script>
</body>
</html>