var minisrv_service_file = true;
headers =`200 OK
Connection: Keep-Alive
wtv-expire-all: wtv-home:/splash
Content-type: text/html`
var cryptstatus = (wtv_encrypted ? "Encrypted" : "Not Encrypted")
var comp_type = wtvmime.shouldWeCompress(socket.ssid,'text/html');
var compstatus = "uncompressed";
switch (comp_type) {
case 1:
compstatus = "wtv-lzpf";
break;
case 2:
compstatus = "gzip (level 9)";
break;
}
var wtv_system_sysconfig = session_data.get("wtv-system-sysconfig");
var wtv_client_bootrom_version = session_data.get("wtv-client-bootrom-version");
var wtv_system_chipversion_str = session_data.get("wtv-system-chipversion");
var notImplementedAlert = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "This feature is not available.",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
var ownMinisrv = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "To run your own minisrv, please visit the following link on your PC:
https://zef.pw/minisrv",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
var supportZefieAlert = new clientShowAlert({
'image': minisrv_config.config.service_logo,
'message': "If you would like to support zefie or minisrv, please visit the following link on your PC:
https://zef.pw/helpminisrv",
'buttonlabel1': "Okay",
'buttonaction1': "client:donothing",
'noback': true,
}).getURL();
if (ssid_sessions[socket.ssid].get("wtv-used-8675309") || ssid_sessions[socket.ssid].get("wtv-need-upgrade")) {
data =`
MiniBrowser Home
')
bgclr='4c5a67'
tclr='cbcbcb'
vclr='dddddd'
lclr='dddddd'
|
|
| MiniBrowser Home
| |
`
} else {
data =`
Home for ${session_data.getSessionData("subscriber_username") || "minisrv"}
|
|
|
|
|
|
|
|
|
|
WebTV URL, FILE, and CLIENT Access:
|
|
|
|
Mail
| Favorites
| Music
| Search
| ROMs
| Settings
| Help
| | | | | | | |
|
| » Community «
|
|
|
|
| Chat
|
|
|
|
| Discuss
|
|
|
|
|
| Messenger
|
|
|
|
|
|
| » Account «
|
|
|
|
| Relogin
|
|
|
|
|
| Configure
|
|
|
|
|
| Password
|
|
|
|
|
| Add User
|
|
|
|
|
`;
if (session_data.getSessionData("registered")) data += ` | Unregister`;
else data += ` | Register`
data += `
|
|
|
|
|
|
|
| Welcome to zefie's minisrv ${minisrv_version_string.split(" ")[3]}
|
|
|
This server is operated by ${minisrv_config.config.service_owner}.
`;
if (minisrv_config.config.service_description) {
if (typeof minisrv_config.config.service_description === "string") {
if (minisrv_config.config.service_description.length > 0) {
data += minisrv_config.config.service_description;
}
}
}
data += `
|
|
| |
|
| minisrv Latest Updates
|
|
|
Added Protoweb Support (Try it!)
Added a WebTV Character Map
Redesigned homepage based on MattMan69's HackTV
Added a new minisrv logo
|
|
|
|
| » Tools «
|
|
|
|
| WTV Tricks
|
|
|
|
|
| Pagebuilder
|
|
|
|
|
| Clear Cache
|
|
|
|
|
|
| » More Stuff «
|
|
|
|
| Switch server
|
|
|
|
|
| Run your own server
|
|
|
|
|
| Midnight Archives
|
|
|
|
|
| Help zefie
|
|
|
|
|
|
`
}
data += "\n"; |