mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 09:24:48 +00:00
23 lines
460 B
HTML
23 lines
460 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
const storage = {
|
|
session: {
|
|
get: function (key) {
|
|
const item = sessionStorage.getItem('minexlauncher');
|
|
if (item !== null) {
|
|
const json = JSON.parse(item);
|
|
if (json[key] !== undefined) {
|
|
return json[key];
|
|
}
|
|
return undefined;
|
|
}
|
|
return undefined;
|
|
},
|
|
},
|
|
};
|
|
window.location.href = storage.session.get('lastGame') ?? '/';
|
|
</script>
|
|
</head>
|
|
</html>
|