minato981 commited on
Commit
4781bce
·
verified ·
1 Parent(s): 26ecfb1

how can i run this app

Browse files
Files changed (1) hide show
  1. index.html +44 -8
index.html CHANGED
@@ -92,10 +92,10 @@
92
  <p class="hacker-text text-sm mb-4">
93
  Test how strong your password is against common attacks.
94
  </p>
95
- <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all">
96
  Test Password
97
  </button>
98
- </div>
99
 
100
  <!-- Tool 2 -->
101
  <div class="terminal p-6 card-hover">
@@ -108,10 +108,10 @@
108
  <p class="hacker-text text-sm mb-4">
109
  Check your account settings for security vulnerabilities.
110
  </p>
111
- <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all">
112
  Run Audit
113
  </button>
114
- </div>
115
 
116
  <!-- Tool 3 -->
117
  <div class="terminal p-6 card-hover">
@@ -124,10 +124,10 @@
124
  <p class="hacker-text text-sm mb-4">
125
  Learn how to spot phishing attempts on Instagram.
126
  </p>
127
- <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all">
128
  Start Test
129
  </button>
130
- </div>
131
  </div>
132
 
133
  <!-- Security Tips -->
@@ -194,8 +194,13 @@
194
  <footer class="mt-16 text-center hacker-text text-sm text-gray-600">
195
  <p>© 2023 InstaShield | Educational tool for account security</p>
196
  <p class="mt-2">Not affiliated with Instagram or Meta</p>
 
 
 
 
 
197
  </footer>
198
- </div>
199
 
200
  <script>
201
  // Terminal messages
@@ -216,9 +221,40 @@
216
 
217
  // Change message every 5 seconds
218
  setInterval(updateTerminal, 5000);
219
-
220
  // Initialize feather icons
221
  feather.replace();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
222
  </script>
223
  </body>
224
  </html>
 
92
  <p class="hacker-text text-sm mb-4">
93
  Test how strong your password is against common attacks.
94
  </p>
95
+ <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all opacity-50" disabled>
96
  Test Password
97
  </button>
98
+ </div>
99
 
100
  <!-- Tool 2 -->
101
  <div class="terminal p-6 card-hover">
 
108
  <p class="hacker-text text-sm mb-4">
109
  Check your account settings for security vulnerabilities.
110
  </p>
111
+ <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all opacity-50" disabled>
112
  Run Audit
113
  </button>
114
+ </div>
115
 
116
  <!-- Tool 3 -->
117
  <div class="terminal p-6 card-hover">
 
124
  <p class="hacker-text text-sm mb-4">
125
  Learn how to spot phishing attempts on Instagram.
126
  </p>
127
+ <button class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all opacity-50" disabled>
128
  Start Test
129
  </button>
130
+ </div>
131
  </div>
132
 
133
  <!-- Security Tips -->
 
194
  <footer class="mt-16 text-center hacker-text text-sm text-gray-600">
195
  <p>© 2023 InstaShield | Educational tool for account security</p>
196
  <p class="mt-2">Not affiliated with Instagram or Meta</p>
197
+ <div class="mt-4">
198
+ <button onclick="runApp()" class="bg-primary hover:bg-primary/90 text-white hacker-text px-4 py-2 rounded transition-all">
199
+ Run InstaShield
200
+ </button>
201
+ </div>
202
  </footer>
203
+ </div>
204
 
205
  <script>
206
  // Terminal messages
 
221
 
222
  // Change message every 5 seconds
223
  setInterval(updateTerminal, 5000);
 
224
  // Initialize feather icons
225
  feather.replace();
226
+
227
+ function runApp() {
228
+ // Check if browser supports necessary APIs
229
+ if (!navigator.clipboard) {
230
+ alert("This app requires clipboard access. Please use a modern browser.");
231
+ return;
232
+ }
233
+
234
+ // Start the app experience
235
+ const terminalOutput = document.getElementById('terminal-output');
236
+ terminalOutput.innerHTML = `
237
+ > Initializing InstaShield v1.0...<br>
238
+ > Loading security modules...<br>
239
+ > Checking system requirements...<br>
240
+ <span class="text-green-600">> Ready! Select a tool from above to begin.</span>
241
+ `;
242
+
243
+ // Scroll to tools section
244
+ document.querySelector('.grid').scrollIntoView({
245
+ behavior: 'smooth'
246
+ });
247
+
248
+ // Enable all tool buttons
249
+ document.querySelectorAll('button').forEach(btn => {
250
+ if (!btn.onclick) {
251
+ btn.disabled = false;
252
+ btn.classList.remove('opacity-50');
253
+ }
254
+ });
255
+
256
+ alert("InstaShield is now running! Select any tool to begin.");
257
+ }
258
  </script>
259
  </body>
260
  </html>