-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (78 loc) · 3.07 KB
/
index.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connect to Tomix Modded Server!</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #00fff6;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
background-image: url('https://i.imgur.com/ufPFpbu.png');
background-size: cover;
background-position: center;
background-attachment: fixed;
}
.container {
background-color: beige;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: 20px;
}
h1 {
margin-top: 0;
}
a {
color: #0500ff;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#mobileLink, #pcInstructions, #macMessage {
display: none;
}
</style>
</head>
<body>
<div class="container">
<h1>Connect to Tomix Modded Server!</h1>
<p id="mobileLink">If you're using a mobile device, <a href="amongus://init?servername=Tomix_Modded&serverport=443&serverip=https%3A%2F%2Faumods.us&usedtls=false">click here</a> to connect to the server.</p>
<div id="pcInstructions">
<p>For PC users, follow these instructions:</p>
<ol>
<li><a href="https://www.mediafire.com/file/u4wmcvj3fkju3w5/regioninfo.json/file" target="_blank">Download <strong>regioninfo.json</strong> here.</a></li>
<li>Press <strong>Windows + R</strong> and paste this path: <code>%userprofile%\AppData\LocalLow\Innersloth\Among Us</code></li>
<li>Paste the downloaded file into the folder that has been opened.</li>
<li>Open Among Us.</li>
</ol>
</div>
<p id="macMessage">Sorry, but on Mac it is impossible to download and use modded server files for Among Us. We suggest using a PC instead of an imposter for this task.</p>
<script>
document.addEventListener("DOMContentLoaded", function() {
var isMobile = /Mobi|Android/i.test(navigator.userAgent);
var isMac = /Macintosh/i.test(navigator.userAgent);
if (isMac) {
var macMessage = document.getElementById("macMessage");
macMessage.style.display = "block";
} else if (isMobile) {
var mobileLink = document.getElementById("mobileLink");
mobileLink.style.display = "block";
} else {
var pcInstructions = document.getElementById("pcInstructions");
pcInstructions.style.display = "block";
}
});
</script>
</div>
</body>
</html>