mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 07:57:50 +00:00
* The TGS thing * Revert the 516 revert * Further segment the world/New() proc * Fixes an issue here
30 lines
760 B
HTML
30 lines
760 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
</head>
|
|
<body>
|
|
<script>
|
|
//this is used over window.location because window.location has a character limit in IE.
|
|
function sendbyond(text) {
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open('GET', '?'+text, true);
|
|
xhr.send(null);
|
|
}
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.open('GET', 'asset_data.json', true);
|
|
xhr.responseType = 'text';
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState === 4) {
|
|
var status = xhr.status;
|
|
if (status >= 200 && status < 400) {
|
|
sendbyond('asset_cache_preload_data=' + encodeURIComponent(xhr.responseText));
|
|
}
|
|
}
|
|
};
|
|
xhr.send(null);
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|