diff --git a/zefie_wtvp_minisrv/app.js b/zefie_wtvp_minisrv/app.js index 14886645..e2b15053 100644 --- a/zefie_wtvp_minisrv/app.js +++ b/zefie_wtvp_minisrv/app.js @@ -1176,7 +1176,7 @@ function handleProxy(socket, request_type, request_headers, res, data) { headers["wtv-http-proxy"] = true; headers["wtv-trusted"] = false; - if (res.headers['Content-Type'].substr(0, 4) == "text") { + if (typeof res.headers['Content-Type'] === 'string' && res.headers['Content-Type'].startsWith("text")) { if (request_type != "http" && request_type != "https") { // replace http and https links on non http/https protocol (for proto:// for example) var data_t = data.toString().replaceAll("http://", request_type + "://").replaceAll("https://", request_type + "://"); diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/Shadow_Horizontal.gif b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/Shadow_Horizontal.gif new file mode 100644 index 00000000..1f3e660b Binary files /dev/null and b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/Shadow_Horizontal.gif differ diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/bgpattern.gif b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/bgpattern.gif new file mode 100644 index 00000000..2f003a83 Binary files /dev/null and b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/bgpattern.gif differ diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetup.gif b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetup.gif new file mode 100644 index 00000000..b8c256e8 Binary files /dev/null and b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetup.gif differ diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetupShadowLogo.gif b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetupShadowLogo.gif new file mode 100644 index 00000000..d0cd0b15 Binary files /dev/null and b/zefie_wtvp_minisrv/includes/ServiceVault/SharedROMCache/cSetupShadowLogo.gif differ diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/cSetup.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/cSetup.js index c94cc656..3c33df38 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/cSetup.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/cSetup.js @@ -38,23 +38,33 @@ function load() { Content-Type: text/html` data = ` - + -
-
+Connect Setup v3.0 +
+ + +

+ +
+
+ +
+ + + +
 Connect Setup v3.0
+
+
-
 Server:
@@ -62,17 +72,21 @@ window.onload=uS;
 Address:       Port: -
-

+


 Info:

- +
+
- - -
+ + +

+ +
+
`; } \ No newline at end of file diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/htv-cSetup.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/htv-cSetup.js index b30c200d..567af564 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/htv-cSetup.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/htv-cSetup.js @@ -1,27 +1,30 @@ -function uI(ip,prt,dsc,ro){ +var d = document; + +function uI(ip,prt,dsc,ro,rb){ if(!ro){ro=false} d.c.machine.value=ip d.c.port.value=prt d.i.msg.value=dsc + d.i.runBy.value=rb d.c.machine.readonly=ro d.c.port.readonly=ro } -function uS(){switch(d.c.p[d.c.p.selectedIndex].value){ - case "htv":uI("71.244.121.234","1615","This is the public HackTV minisrv, all are welcome to connect and enjoy the wonders of WebTV. Custom experience, including updates to HackTV builds!",true) - break - case "htvb":uI("71.244.121.234","1415","This is the public HackTV minisrv backup, only available when the main HackTV server is down.",true) - break - case "zef": uI("216.126.232.171","1615","zefie's public minisrv, for those who want an experience close to the vanilla minisrv.",true) - break - case "mm69":uI("71.244.121.234","1515","MattMan's megasrv. It's the real deal, not minisrv! May be up from time to time.",true) - break - case "jar":uI("217.160.150.209","1615","WebTV Redialed aims to replicate the look and feel of the original production WebTV service.",true) - break - case "zlan":uI("192.168.11.8","1615","zefie's Desktop via LAN.",false) - break - case "zlan2":uI("192.168.11.95","1615","zefie's public minisrv via LAN.",false) - break - case "other":uI("","1615","Your custom service.",false) - break -}} +function uS(){ + switch(d.c.p[d.c.p.selectedIndex].value){ + case "htv":uI("71.244.121.234","1615","The public HackTV minisrv, all are welcome to connect and enjoy the wonders of WebTV. Custom experience, but simulates the WebTV network after its MSN TV rebrand.",true, "MattMan69") + break + case "htvb":uI("71.244.121.234","1415","The HackTV minisrv backup server, only available when the main HackTV server is down.",true, "MattMan69") + break + case "zef": uI("204.11.163.156","1615","zefie's public minisrv, for those who want the vanilla minisrv experience. For more info, see https://zef.pw/minisrv.",true, "zefie") + break + case "mm69":uI("71.244.121.234","1515","MattMan's megasrv. It's the real deal, not minisrv! May be up from time to time.",true, "MattMan69") + break + case "red":uI("31.97.129.116","1615","WThe WebTV Redialed minisrv, for those who want an original WebTV experience. Simulates the WebTV Network as it was in 1999.",true, "HIDEN") + break + case "local":uI("127.0.0.1","1615","Connects to a server running on your local machine. Doesn't do anything if a server isn't running.",true, "You") + break + case "other":uI("","1615","Enter a custom service.",false, "???") + break + } +} diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/tricks.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/tricks.js index 6e9cca0f..a3be584e 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/tricks.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-tricks/tricks.js @@ -22,7 +22,8 @@ tricks = [ ["wtv-tricks:/cSetup", "Connect Setup"], ["wtv-tricks:/benchmark", "Speed Test"], ["wtv-flashrom:/big-willie", "Big Willie"], - ["wtv-flashrom:/willie", "Ultra Willie"] + ["wtv-flashrom:/willie", "Ultra Willie"], + ["wtv-setup:/transfer-account", "Transfer Account"], ] // add these at the bottom tricks.push((session_data.getSessionData("registered")) ? ["wtv-tricks:/unregister", "Unregister This Box"] : ["wtv-tricks:/register", "Register This Box"]); // reg/unreg