function sendTopicDataOld(data) { // limit of 2083 characters, some of which are already used up by window.location
window.location = "?" + data;
}
function sendTopicData(data) { // limit of ~64182 characters, some used up by window.location
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", "?" + data, true);
xmlHttp.send();
}
Using XMLHttpRequest gives us ~30 times more characters to work with compared to window.location. Unfortunately, this doesn't currently work for winset/winget due to the way HandleLink is called with XMLHttpRequest and how it processes winset/winget links. Using the byond: URL in XMLHttpRequest doesn't work since byond: isn't a proper scheme that IE will accept when calling XMLHttpRequest.open() resulting in an 'Access is denied' error.