This commit is contained in:
PrestonT500 2024-12-19 07:31:02 -08:00
parent 258b7e7ffe
commit 2fcf8e9b7d
3 changed files with 13 additions and 6 deletions

View File

@ -12,6 +12,7 @@
<meta property="og:description" content="test directory HTML page" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<script type="text/javascript" src="classes.js"></script>
<script src="/js/ga4.js"></script>
<script type="text/javascript">
"use strict";
window.addEventListener("load", function() {

View File

@ -11,6 +11,11 @@
<meta property="og:title" content="EaglercraftX 1.8 WASM-GC" />
<meta property="og:description" content="test directory HTML page" />
<link type="image/png" rel="shortcut icon" href="favicon.png" />
<script src="/js/ga4.js"></script>
<!-- JSPI TRIALS-->
<!-- MICROSOFT --> <meta http-equiv="origin-trial" content="AxCaB9CUa1NjEYsfi2KHTwRihrriOki+jrtyvPpyAqwVFdaev2mnVGEKACPd6SORzZktTjpeKgN4oMYun9cStXoAAAB7eyJvcmlnaW4iOiJodHRwczovL2VhZ2xlcmNyYWZ0Lndpbjo0NDMiLCJmZWF0dXJlIjoiV2ViQXNzZW1ibHlKU1Byb21pc2VJbnRlZ3JhdGlvbiIsImV4cGlyeSI6MTczNzg1OTk4NiwiaXNTdWJkb21haW4iOnRydWV9">
<!-- GOOGLE --> <meta http-equiv="origin-trial" content="Ag8eVN4Le/HOr01lUzCQrXfPl1SNRatDeFbeAEWlDFHK7/zNLf/TOWITAK56cZuSsMHoANnPK9H1JrmTRzmY4ggAAAB7eyJvcmlnaW4iOiJodHRwczovL2VhZ2xlcmNyYWZ0Lndpbjo0NDMiLCJmZWF0dXJlIjoiV2ViQXNzZW1ibHlKU1Byb21pc2VJbnRlZ3JhdGlvbiIsImV4cGlyeSI6MTc0NDY3NTIwMCwiaXNTdWJkb21haW4iOnRydWV9">
<!-- JSPI TRIALS-->
<script type="text/javascript">
"use strict";
window.addEventListener("load", async function() {
@ -25,7 +30,7 @@
splash.style.imageRendering = "pixelated";
splash.style.background = "center / contain no-repeat url(splash.png), 0px 0px / 1000000% 1000000% no-repeat url(splash.png) white";
document.body.appendChild(splash);
console.log("Downloading assets.epk...");
var assetsEPK;
try {
@ -37,7 +42,7 @@
return;
}
console.log("Downloaded " + assetsEPK.length + " byte file");
const relayId = Math.floor(Math.random() * 3);
const eaglercraftXOpts = {
demoMode: false,
@ -52,7 +57,7 @@
{ addr: "wss://relay.shhnowisnottheti.me/", comment: "ayunami relay #1", primary: relayId === 2 }
]
};
window.__eaglercraftXLoaderContext = {
getEaglercraftXOpts: function() {
return eaglercraftXOpts;
@ -107,7 +112,7 @@
var s = q.get("server");
if(s) eaglercraftXOpts.joinServer = s;
}
const scriptElement = document.createElement("script");
scriptElement.type = "text/javascript";
scriptElement.src = "eagruntime.js";

View File

@ -98,9 +98,10 @@
<a class="modded-buttons filter-button" href="./eagler-files/modded/1.8/prism-client.html">
<button>Prism Client</button>
</a>
<a class="modded-buttons filter-button" href="./eagler-files/modded/1.8/prism-client.html">
<a class="modded-buttons filter-button" href="./eagler-files/modded/1.8/EaglyMC/index.html">
<button>EaglyMC Client</button>
<a class="modded-buttons filter-button" href="./eagler-files/modded/1.8/prism-client.html">
</a>
<a class="modded-buttons filter-button" href="./eagler-files/modded/wasm/1.8/EaglyMC/index.html">
<button>EaglyMC Client [WASM]</button>
</a>
</div>