-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (53 loc) · 1.45 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles.css"/>
<title>Wordsearcher</title>
<script>
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
if(navigator.appName == "Netscape") document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
return false;
}
function mousehandler(e){
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
document.oncontextmenu = mischandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;
</script>
</head>
<body scroll="no">
<div id="container">
<div id="logo">
<img id="logo-img" src="assets/logo.png" style="width:380px"/>
</div>
<div id="loader" class="overlay">
<div class="loader_container">
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
</div>
</div>
<script src="js/libs/CSInterface.js"></script>
<script src="js/main.js"></script>
</body>
<script>
function getOS() {
var userAgent = window.navigator.userAgent,
platform = window.navigator.platform,
macosPlatforms = ['Macintosh', 'MacIntel', 'MacPPC', 'Mac68K'],
windowsPlatforms = ['Win32', 'Win64', 'Windows', 'WinCE'],
os = null;
if(macosPlatforms.indexOf(platform) != -1) {
os = "MAC";
} else if(windowsPlatforms.indexOf(platform) != -1) {
os = "WIN";
}
return os;
}
</script>
</div>
</body>
</html>