-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathindex.html
27 lines (27 loc) · 839 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>misakaProject</title>
</head>
<body>
<script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
if (urlParams.get('tweak') == undefined) {
const redirectUrl = "misaka://addrepo="+urlParams.get('repo')
if (redirectUrl) {
window.location.href = redirectUrl;
}
}else{
const redirectUrl = "misaka://opentweak="+urlParams.get('repo')+"&"+urlParams.get('tweak')
if (redirectUrl) {
window.location.href = redirectUrl;
}
}
var _timerId = setTimeout(function() {
window.location.href = "https://discord.gg/KSExeZVAGX";
}, 500);
</script>
</body>
</html>