function send_post(url, params) {
var http = new XMLHttpRequest();
http.open("POST", url, true);
//Send the proper header information along with the request
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.setRequestHeader("Content-length", params.length);
http.setRequestHeader("Connection", "close");
http.onreadystatechange = function() {//Call a function when the state changes.
if(http.readyState == 4 && http.status == 200) {
alert(http.responseText);
}
}
http.send(params);
return http.responseText;
}
In most recent browsers (Opera, FireFox and Chrome) it works fine but on IE 9.x not exactly. When I use this function to all data is sent correctly to the php file. I can save the php file-level variables to a file uploaded highscore but GM does not receive feedback and all the time waiting for the execution of subsequent commands. This is only for IE, other browsers are working properly.



Find content
Not Telling
