forked from Pratyaksha-047/Decode_Mysteries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pg9-level3.html
72 lines (68 loc) · 2.54 KB
/
pg9-level3.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Decode Mysteries</title>
<link rel="stylesheet" href="css/popup.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- FontAweome CDN Link for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"/>
</head>
<body oncontextmenu="return false;">
<main>
<header>
<nav>
<h1>LEVEL 3</h1>
</nav>
</header>
<!-- start Quiz button -->
<div class="start_btn"><button>Start Game</button></div>
<!-- Info Box -->
<div class="info_box">
<div class="info-title"><span>Some Rules of this Game</span></div>
<div class="info-list">
<div class="info">In this level you have to find the password to reach the ultimate competition. Think about the given hint and decode the password.</div>
<div class="info"><br>Hint:<br><b><span>COMPUTER LANGUAGE IN Y2K</span></b></div>
</div>
<div class="buttons">
<button class="quit">Exit Quiz</button>
<a href="pg10-questions3.html" class="continue"><button class="restart">Continue</button></a>
</div>
</div>
<audio controls autoplay loop hidden>
<source src="bgm/bgm.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>
<!-- Inside this JavaScript file I've inserted Questions and Options only -->
<script src="js/questions.js"></script>
<!-- Inside this JavaScript file I've coded all Quiz Codes -->
<script src="js/script2.js"></script>
<script type="text/javascript">
/*$(document).ready(function() {
$('body').bind('cut copy paste', function (e) {
e.preventDefault();
})
$(".code").on("contextmenu", function(e) {
return false;
})
})*/
document.addEventListener('contextmenu', event => event.preventDefault());
document.onkeydown = function (e) {
if (event.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;
}
};
</script>
</body>
</html>
</html>