This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var targetWindow = window.open(null,null,'resizable=yes,scrollbars=yes,status=yes'); | |
/*var iframe = document.createElement('iframe'); | |
iframe.style.position = 'absolute'; | |
iframe.style.zIndex = 1000; | |
iframe.style.left = 0; | |
iframe.width = '300px'; | |
iframe.height = '300px'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For proxying webserver through aspx. | |
url: { | |
configuration: 'up.aspx?path=configuration', | |
update: 'up.aspx?path=world/{world}/{timestamp}', | |
sendmessage: 'up.aspx?path=sendmessage' | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page Language="C#" %> | |
<script runat="server" language="C#"> | |
public void Page_Load(object sender, EventArgs e) | |
{ | |
try | |
{ | |
string path = Request.Params["path"]; | |
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create("http://localhost:8123/up/" + path); | |
request.Method = Request.HttpMethod; | |
request.ContentType = Request.ContentType; |
NewerOlder