Using // in a <script>'s source

Posted by Dan Beam on Stack Overflow See other posts from Stack Overflow or by Dan Beam
Published on 2010-03-16T22:53:50Z Indexed on 2010/03/16 23:11 UTC
Read the original article Hit count: 137

Filed under:
|
|
|
|

Hello fellow front-end web h4X0|2s,

I was wondering if anyone had any resources, proof, or personal experience in using the age-old http/https JavaScript hack:

<script src="//someserver.com/js/script.js"></script>

Has anyone encountered issues in any of these browsers (IE 5.5+, FF2+, Chrome, Opera 9+, Safari 3+)? Has anybody had success stories?

Thank you for your help.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about hacks