forked from Pratyaksha-047/Decode_Mysteries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.55 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title>Decode Mysteries</title>
<link rel="stylesheet" type="text/css" href="css/styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap"
rel="stylesheet"
/>
</head>
<body oncontextmenu="return false;">
<main>
<header></header>
<section class="hero">
<img src="img/bg1.jpeg" alt="Decoding Mysteries" class="hero-img" />
<div class="bg-overlay"></div>
</section>
<section>
<div class="container">
<div class="row">
<span class="text1">DECODE MYSTERIES</span>
<span class="text2">It's Not Over Till It's Over</span>
</div>
</div>
</section>
<section>
<p>
<a href="pg1-instructions.html" class="link">
<button type="button" id="my-btn">Start the Game</button></a
>
</p>
</section>
</main>
<audio controls autoplay loop hidden>
<source src="bgm/bgm.mp3" type="audio/mpeg" />
Your browser does not support the audio tag.
</audio>
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"
></script>
<script src="js/script.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>