I'm currently writing a script which is purposefully leaving out jquery as a dependency.
So with Native JS I am making a CORS request to a server. However, I can't control the protocol of the browser. Some may be http:, some may be https:. The server I post to will always be https: How do I with the native XDomainRequest object in IE 8 and 9 allow posting to these even if the location.protocol is different than the requested domains protocol?