stuff and things
This commit is contained in:
@@ -119,6 +119,7 @@ data = `<html>
|
|||||||
TVShell.AddSecretCode(6145539); // Force Crash
|
TVShell.AddSecretCode(6145539); // Force Crash
|
||||||
var entry = TVShell.ServiceList.Add("connection::login");
|
var entry = TVShell.ServiceList.Add("connection::login");
|
||||||
entry.URL = "https://headwaiter.trusted.msntv.msn.com/connection/login.aspx?BoxId=${BoxId}";
|
entry.URL = "https://headwaiter.trusted.msntv.msn.com/connection/login.aspx?BoxId=${BoxId}";
|
||||||
|
TVShell.ServiceList.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
function CheckForUser(usernameToCheck) {
|
function CheckForUser(usernameToCheck) {
|
||||||
|
|||||||
@@ -4,19 +4,6 @@ const minisrv_service_file = true;
|
|||||||
|
|
||||||
headers = `Content-type: text/html`;
|
headers = `Content-type: text/html`;
|
||||||
|
|
||||||
if ( session_data && session_data.isRegistered() ) {
|
|
||||||
data = `<html>
|
|
||||||
<head>
|
|
||||||
<title id="title"></title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<iframe id="checkmail" style="display:none"></iframe>
|
|
||||||
<script language="javascript">
|
|
||||||
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html>`;
|
|
||||||
} else {
|
|
||||||
data = `<html>
|
data = `<html>
|
||||||
<head>
|
<head>
|
||||||
<title id="title"></title>
|
<title id="title"></title>
|
||||||
@@ -42,5 +29,4 @@ data = `<html>
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>`;
|
</html>`;
|
||||||
}
|
|
||||||
@@ -97,6 +97,7 @@ data = `<html xmlns:msntv>
|
|||||||
}
|
}
|
||||||
|
|
||||||
AddUser();
|
AddUser();
|
||||||
|
tvShell.UserManager.Save();
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user