4 ms·
That's were relative URLs without a scheme come in handy, e.g. "//www.example.com/example_file.js" If the current page is served over https, it will load scrip
by eneveu 15y ago
That's were relative URLs without a scheme come in handy, e.g. "//www.example.com/example_file.js"
If the current page is served over https, it will load scripts using https. If it's served over http, it will use http.
http://stackoverflow.com/questions/550038/is-it-valid-to-replace-http-with-in-a-script-src-http http://stackoverflow.com/questions/550038/is-it-valid-to-rep...