Please provide also HTTPS download from jquery !

Please provide also HTTPS download from jquery !

when using Jquery with google Chrome I ran into following problem:


  1. [blo cked] The page at  https ://whatever  ran insecure content from  http: //code.jquery.com/jquery-1.8.3.min.js .
The Problem: 
Chrome does not allow mixing https and http. 
So it would be nice, if there will be beside:
also 
so I then I may modify the following code:
  1. function addJQuery(callback) {
  2.   var script
  3.   script = document.createElement("script");
  4.   script.setAttribute("src", "http://code.jquery.com/jquery-1.8.3.min.js");
  5. ...
just like that:
  1. ...
  2. script.setAttribute("src", location.protocol  "//code.jquery.com/jquery-1.8.3.min.js");
to make it work also in Google chrome. 


504 - Gateway Timeout


Update:


The Fix: 

Got it running like this:
  1.  script.setAttribute("src", "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js");
Google provides  http:  and https: 
and "//" will make the url protocol independent means js will choose according to current location url what to use.