-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjoin.html
More file actions
executable file
·33 lines (30 loc) · 1.13 KB
/
join.html
File metadata and controls
executable file
·33 lines (30 loc) · 1.13 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Joining Server!</title>
<link rel="stylesheet" href="https://cdn.efaz.dev/cdn/styles/htmlUI.css">
<script>
function teleport() {
const urlParams = new URLSearchParams(window.location.search);
let queryArray = [];
urlParams.forEach((value, key) => {
if (value) {
queryArray.push(`${key}=${value}`);
}
});
const formattedQuery = `?${queryArray.join('&')}`;
window.location.href = `roblox://experiences/start${formattedQuery}`;
}
window.onload = teleport
</script>
</head>
<body>
<div>
<img src="https://cdn.efaz.dev/cdn/png/logo.png" height="64" width="64" class="center">
<h1>Roblox should launch soon!</h1>
<a onclick="teleport()" style="display: flex;align-items: center;justify-content: center;text-align: center;">If Roblox is not launching, make sure it's installed correctly!</a>
</div>
</body>
</html>