-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenter.html
More file actions
73 lines (60 loc) · 1.26 KB
/
enter.html
File metadata and controls
73 lines (60 loc) · 1.26 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
<div style="display:none;">
<script>
document.onkeydown = function(e) {
if(e.keyCode == 123) {
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'I'.charCodeAt(0)){
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'J'.charCodeAt(0)){
return false;
}
if(e.ctrlKey && e.keyCode == 'U'.charCodeAt(0)){
return false;
}
if(e.ctrlKey && e.shiftKey && e.keyCode == 'C'.charCodeAt(0)){
return false;
}
}
</script>
<html>
<head>
<script>
function disableClick(){
document.onclick=function(event){
if (event.button == 2) {
alert('NO.');
return false;
}
}
}
</script>
</head>
<body onLoad="disableClick()">
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>STOP RIGHT THERE!</title>
<script type="text/javascript">
var s ="";
while (s!= "MONITOR77")
{
s=prompt("STOP! ENTER THE PASSWORD!");
if (s=="MONITOR77")
{
window.location.href="xyzthesecret.html"; //page to redirect if password entered is correct
}
else
{
alert("WRONG");
}
}
</script>
</head>
<body>
</body>
</html>
</div>