eaglercraft-1.5/javascript/index.html

32 lines
1.2 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
2020-09-01 17:52:13 -07:00
<html>
<head>
<title>eagler</title>
<meta charset="UTF-8" />
2022-07-16 22:02:55 -07:00
<script type="text/javascript" src="eagswebrtc.js"></script>
2022-07-18 08:07:59 -07:00
<script type="text/javascript" src="classes.js"></script>
2020-09-01 17:52:13 -07:00
<script type="text/javascript">
if(document.location.href.startsWith("file:")) {
alert("You're not supposed to 'open' this file in your browser. Please upload this folder to your HTTP(s) server and access it via the internet. This is not a bug, please read the documentation");
}else {
window.addEventListener("load", function(){
window.minecraftOpts = [
2020-09-01 17:52:13 -07:00
"game_frame","assets.epk",
"CgAACQAHc2VydmVycwoAAAABCAAEbmFtZQAMbG9jYWwgc2VydmVyCAACaXAAD2xvY2FsaG9zdDoyNTU2NQEAC2hpZGVBZGRyZXNzAAAKAAhtYWluTWVudQkACHNwbGFzaGVzCAAAAAoACkRhcnZpZ2xldCEADkRhcnZpZ2xvcGhpbGUhAAtZb3UgRWFnbGVyIQALWWVlZWVlZWVlZSEAC1lvdSBZZWVsZXIhAA1FRUVFRUVFRUVFRUUhAAtZb3UgRGFydmlnIQAJWW91IFZpZ2chAAI6PgACfD4AAA=="
];
(function(){
var q = window.location.search;
if(typeof q === 'string' && q.startsWith("?")) {
q = new URLSearchParams(q);
var s = q.get("server");
if(s) window.minecraftOpts.push(s);
}
})();
main();
});}
2020-09-01 17:52:13 -07:00
</script>
</head>
<body style="margin:0px;width:100vw;height:100vh;" id="game_frame">
</body>
2022-07-18 08:07:59 -07:00
</html>