[jQuery] jQuery.getScript cross protocol, same domain

[jQuery] jQuery.getScript cross protocol, same domain


I am getting an access denied error when trying to do a getScript call
to an https protocol from a http protocol:
jQuery.getScript("https://www.mydomain.com/someJSONScript.js");
I have implemented my own cross domain ajax method that writes a
script element into the head, and it works given the same scenario.
This makes me believe that the jQuery.getScript method is comparing
the document.location.hostname to the hostname in the URL passed in,
and if they match, performing an XMLHttpRequest.
Can anyone confirm this theory. If it is true, is it possible to get
the getScript method changed to look for differing protocols as well?