-
Notifications
You must be signed in to change notification settings - Fork 2
/
eos.html
45 lines (38 loc) · 1.61 KB
/
eos.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html manifest="os/jeneric.manifest">
<head>
<!-- LICENSE: GPL v.3 or later (C) 2010 Andrew Gryaznov [email protected], [email protected] -->
<title>Jeneric OS</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1"/> <!-- bye bye mr.Ballmer -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="os/jeneric.js"></script>
<link href="os/fauxconsole.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/javascript" src="os/CFInstall.min.js"> </script>
<script>
if(navigator.userAgent.indexOf("MSIE 8") == -1) CFInstall.check({});
</script>
<!-- IE debug -->
<script type="text/javascript" src="os/fauxconsole.js"></script>
<script type="text/javascript" src="os/jnext/jnext.js"></script>
<script type="text/javascript" src="os/jnext/sockets.js"></script>
<script>
function goodbye(e) {
if(!e) e = window.event;
//e.cancelBubble is supported by IE - this will kill the bubbling process.
e.cancelBubble = true;
var rv = 'Are you sure you want to shut down jeneric?'; //This is displayed on the dialog
e.returnValue = rv;
//e.stopPropagation works in Firefox.
if (e.stopPropagation) {
e.stopPropagation();
e.preventDefault();
}
return rv;
}
window.onbeforeunload=goodbye;
jeneric_init(document.body); // init Jeneric with output attached directly to body
</script>
</body>
</html>