-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
428 lines (364 loc) · 15 KB
/
test.html
File metadata and controls
428 lines (364 loc) · 15 KB
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Service Never - Helpdesk Ticket System</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="site.css">
<link rel="stylesheet" href="captcha.css">
<script src="CAPTCHA.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EC3PK322B1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-EC3PK322B1');
</script>
<style>
#Progress_Status {
width: 50%;
background-color: #ddd;
}
#myprogressBar {
width: 2%;
height: 20px;
background-color: #4CAF50;
}
/* Text Entry CSS */
.ComplaintBox {
/* Add loaging wheel when user mouse hovers over text entry ComplaintBox */
cursor: wait;
/* Convert text in ComplaintBox to Rainbow */
background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light navcontainer">
<div class="navcontainer text-center">
<a class="navlinks" href="https://jxgreer1.github.io/Help-Desk-Support/">
<img class="img-fluid" style="padding:10px;" src="images/banner.png" alt="ServiceNever" > </a>
</div>
</div>
</nav>
<!-- Navigation -->
<center>
<div class="navcontainer">
<a class="navlinks" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank">wiki</a>
<div class="dropdown navlinks">
<button class="dropbtn">Helpful Resources</button>
<div class="dropdown-content">
<a href="https://jxgreer1.github.io/Help-Desk-Support/" target="_blank">Submit a Ticket</a>
<a href="https://youtu.be/dQw4w9WgXcQ" target="_blank">Request New Computer</a>
<a href="https://www.google.com/" target="_blank">Contact Support</a>
<a href="https://downloadmoreram.com/" target="_blank">Download RAM</a>
<a href="#" onclick="toggleONOFF()">Restart my Computer</a>
<div id="OnOff" style="display: none;">
<img src="images/off-on.gif" height="300" alt="Have you tried turning it off & on?" />
</div>
<a class="navlinks" href="#" onclick="toggleMagicWordGif()">Log In</a>
<input type="button" name="answer" value="Download Virus" onclick="showDiv()" />
</div>
</div>
</div>
</center>
<!-- Navigation -->
<!-- Download Virus & Login GIF-->
<div class="container">
<div style="padding-top:20px;">
<div id="welcomeDiv" style="display:none;" class="answer_list">
<center>
<div id="Progress_Status">
<div id="myprogressBar"></div>
<a style="font-size:25px;" href="https://get.adobe.com/flashplayer/about">Click here for virus</a>
</div>
</center>
</div>
</div>
<div id="askNicely" style="display: none;">
<img src="images/jurrasic-park-samuel-l-jackson.gif" alt="You didn't say the magic word!" />
</div>
</div>
<!-- Download Virus & Login GIF-->
<!-- Submit a Ticket Form: Left Side -->
<div class="container" style="padding-top:10px;padding-bottom:70px;">
<div class="row">
<p>The next phone tech will be available in:
<b><span id="demo"></span></b> <i>- Please use the online ticket form below.</i></p>
<div class="col-xl-10 col-lg-10 col-md-12 col-sm-12 col-xs-12">
<h1>Submit a Ticket</h1>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="jef">
<br>
<br>
<label for="email">Email:</label>
<input type="text" id="email" name="email" placeholder="example@pornhub.com">
<br>
<br>
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone">
<br>
<br>
<label for="dept">Department:</label>
<select id="dept" name="dept">
<option value="unsure">Unsure</option>
<option value="it">IT</option>
<option value="marketing">Marketing</option>
<option value="sales">Sales</option>
<option value="hr">HR</option>
<option value="finance">Finance</option>
</select>
<br />
<br />
<label for="priority">Priority: </label>
<select id="priority" name="priority">
<option value="die">Will die if not done ASAP</option>
<option value="idkbruh">IDK I'm going on lunch right now</option>
<option value="world">The world will end if not fixed immediately</option>
</select>
<br />
<br />
<label for="problem">Description of Problem:</label>
<br />
<textarea class="ComplaintBox" id="problem" name="problem" rows="4" cols="50"></textarea>
<br>
<script></script>
<!-- Submit a Ticket Form: Left Side -->
<!-- Waldo Catcha -->
<div class="waldo">
<div class="waldocontainer">
<div class="waldoheader"><small>Select all squares with</small> <strong id="content">Waldo</strong> <small>if there are none, click skip</small></div>
<div class="waldogrid">
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare selected"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
<div class="waldosquare"></div>
</div>
<div class="waldofooter">
<div class="waldoicons">
<span class="material-icons-outlined"><img src="images/waldoicons.png"/></span>
</div>
<button class="waldobutton" type="button">Skip</button>
</div>
</div>
</div>
<!-- Waldo Catcha -->
</div>
<!-- Submit Buttons -->
<section>
<div class="box-bounds">
<button id="submit" class="buttonFLASH" style="background-color:red;color:white;padding:20px;" tabindex="-1"> Submit </button>
</div>
</section>
<div style="padding-left:50px;padding-top:25px;">
<button class="buttonhover" onclick="location=' https://lmgt.org/?q=' + encodeURIComponent(document.getElementById('problem').value);">
<span class="submit" href="http://https://jxgreer1.github.io/Help-Desk-Support/list.com/">Submit</span>
<span class="cancel" href="http://https://jxgreer1.github.io/Help-Desk-Support/list.com/">Cancel</span>
</button>
</div>
<!-- Submit Buttons -->
<!-- Right Side -->
<div class="col-xl-2 col-lg-2 col-md-12 col-sm-12 col-xs-12">
<CENTER>
</CENTER>
</div>
</div>
</div>
</div>
<!-- Right Side -->
<!-- Footer -->
<footer>
<center>
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<img alt="microwave edge" src="images/Microwave Edge.png" height="100" />
</a>
<span style="padding-left:20px;padding-right:20px;">If there are any issues with the form, <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">click here</a> & ask for Tyler.</span>
<img class="navlinks" alt="best viewed with" src="images/best-viewed.jpg">
</center>
</footer>
<!-- Footer -->
<script>
$(document).ready(function () {
let numMoves = 0;
let timeoutDone = false;
let audio = (typeof(Audio) !== 'undefined') ? new Audio("engineer_no01.mp3") : null;
$(".box-bounds").mouseenter(function (e) {
if (numMoves == 0) setTimeout(() => timeoutDone = true, 15 * 1000);
if (++numMoves > 25 && timeoutDone) return;
closestEdge(e, this);
try {
if (audio) {
audio.play();
}
} catch(e) {}
});
});
document.getElementById("submit").addEventListener("click", function () {
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
});
function moveDiv(mouse, edge, elem) {
const width = $(elem).outerWidth();
const height = $(elem).outerHeight();
switch (edge) {
case "left":
$(elem).css({
left: mouse.pageX + 50
});
break;
case "right":
$(elem).css({
left: mouse.pageX - width - 50
});
break;
case "top":
$(elem).css({
top: mouse.pageY + 50
});
break;
case "bottom":
$(elem).css({
top: mouse.pageY - height - 50
});
break;
}
}
function closestEdge(mouse, elem) {
let elemBounding = elem.getBoundingClientRect();
let elementLeftEdge = elemBounding.left;
let elementTopEdge = elemBounding.top;
let elementRightEdge = elemBounding.right;
let elementBottomEdge = elemBounding.bottom;
let mouseX = mouse.clientX;
let mouseY = mouse.clientY;
let topEdgeDist = Math.abs(elementTopEdge - mouseY);
let bottomEdgeDist = Math.abs(elementBottomEdge - mouseY);
let leftEdgeDist = Math.abs(elementLeftEdge - mouseX);
let rightEdgeDist = Math.abs(elementRightEdge - mouseX);
let min = Math.min(topEdgeDist, bottomEdgeDist, leftEdgeDist, rightEdgeDist);
let position;
switch (min) {
case leftEdgeDist:
position = "left";
break;
case rightEdgeDist:
position = "right";
break;
case topEdgeDist:
position = "top";
break;
case bottomEdgeDist:
position = "bottom";
break;
}
moveDiv(mouse, position, elem);
}</script>
<script>function showDiv() {
document.getElementById('welcomeDiv').style.display = "block";
var element = document.getElementById("myprogressBar");
var width = 1;
var identity = setInterval(scene, 10);
function scene() {
if (width >= 100) {
clearInterval(identity);
} else {
width++;
element.style.width = width + '%';
element.innerHTML = width * 1 + '%';
}
}
}
function triggerBackspace(el = document.activeElement) {
if (!el) return;
if (el.tagName !== 'INPUT' && el.tagName !== 'TEXTAREA') return;
let value = el.value;
let selectionStart = el.selectionStart || value.length;
el.value = value.slice(0, selectionStart - 1) + value.slice(selectionStart);
}
function addTextToInput() {
console.error("Potato");
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
document.activeElement.value = document.activeElement.value + "HELLO";
}
var allInputElements = document.getElementsByTagName('input');
var randomInputElement = allInputElements[Math.floor(Math.random() * allInputElements.length)];
randomInputElement.focus();
}
document.addEventListener('keydown', function (e) {
let target = e.target;
if (!target) return;
if (target.tagName !== 'INPUT' && target.tagName !== 'TEXTAREA') return;
if (Math.random() < 0.05) {
e.preventDefault();
triggerBackspace(target);
} else if (e.key === ' ' || e.key === '.' || e.key === '-') {
addTextToInput();
}
});
</script>
<script>
function toggleMagicWordGif() {
if (document.getElementById('askNicely').style.display === 'none') {
document.getElementById('askNicely').style.display = 'block';
} else {
document.getElementById('askNicely').style.display = 'none';
}
}
</script>
<script>
function toggleONOFF() {
if (document.getElementById('OnOff').style.display === 'none') {
document.getElementById('OnOff').style.display = 'block';
} else {
document.getElementById('OnOff').style.display = 'none';
}
}
</script>
<script>
// Set the date we're counting down to
var countDownDate = new Date("Jan 5, 2028 15:37:25").getTime();
// Update the count down every 1 second
var x = setInterval(function() {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
// Time calculations for days, hours, minutes and seconds
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
// Output the result in an element with id="demo"
document.getElementById("demo").innerHTML = days + "d " + hours + "h "
+ minutes + "m " + seconds + "s ";
// If the count down is over, write some text
if (distance < 0) {
clearInterval(x);
document.getElementById("demo").innerHTML = "EXPIRED";
}
}, 1000);
</script>
</body>
</html>