originally posted in:BungieNetPlatform
What does this error mean?
My code works with Google Chrome, but not any other browser, when tested locally. When I upload it to my webhost's server, go to the website and test it, this error occurs. I know it's really not related to the API, but I cannot figure out what is happening. I am using $.ajax in jQuery.
-
Edited by VThornheart: 9/10/2015 11:39:44 PMAh! You will want to read up on CORS: http://enable-cors.org/ To summarize, the problem is that most modern browsers will not allow you to make AJAX requests in Javascript to a different domain than the domain of the page that served the initial content. This is an important protection for users, who otherwise could be bombarded by malicious intent to serve up data from other domains while impersonating you, among other issues (look up cross-site scripting vulnerabilities for more information). CORS is a protocol to allow that restriction to be lifted for certain servers. Read more above and also google CORS, and check with your web host to see if or how you can enable the CORS settings you need. EDIT: Just realized that was probably confusing, edited to clarify a bit.
-
-
It means you overloaded your computer with all the porn you download.