not at all
GGaMErZZ
7
Posts
1
Topics
A member registered Apr 04, 2021
Recent community posts
itch.io Community » itch.io » Questions & Support · Replied to leafo in Why is the sending thing of my html5 game is not working properly but works on my game engine?
i know its not necessary but its from my game engine and i dont wanna break it by accident anyway
networktools.js:39 Access to XMLHttpRequest at ‘https://(dont want peoples to know)/game/refresh.php’ from origin ‘https://v6p9d9t4.ssl.hwcdn.net’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
itch.io Community » itch.io » Questions & Support · Created a new topic Why is the sending thing of my html5 game is not working properly but works on my game engine?
code:
try {
var xhr;
if (typeof XMLHttpRequest !== 'undefined')
xhr = new XMLHttpRequest();
else {
var versions = ["MSXML2.XmlHttp.5.0",
"MSXML2.XmlHttp.4.0",
"MSXML2.XmlHttp.3.0",
"MSXML2.XmlHttp.2.0",
"Microsoft.XmlHttp"]
for(var i = 0, len = versions.length; i < len; i++) {
try {
xhr = new ActiveXObject(versions[i]);
break;
}
catch(e){}
} // end for
}
and how to solve it?
game made and exported in GDevelop
i see no problem in this at all
im using a HTTPS web to comunicate with the app/HTML5