Permalink
Browse files

Always load include.js over HTTPS (security issue)

  • Loading branch information...
1 parent 3c705d5 commit fdd688b46e3e9ff002545a0734d4d1a77eab9e0f @fmarier fmarier committed Feb 13, 2013
Showing with 3 additions and 3 deletions.
  1. +2 −2 Demos/index.html
  2. +1 −1 README.md
View
@@ -25,7 +25,7 @@
<!--put the scripts in the bottom like a good front ender would-->
<!-- Check for support for browserid in the browser, fallback to loading the polyfill -->
-<script>navigator.id || document.write('<script src="//browserid.org/include.js"><\/script>')</script>
+<script>navigator.id || document.write('<script src="https://browserid.org/include.js"><\/script>')</script>
<!-- Load jquery from google's CDN + fallback - stolen from h5bp.com-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.8.3.min.js"><\/script>')</script>
@@ -40,4 +40,4 @@
});
</script>
</body>
-</html>
+</html>
View
@@ -14,7 +14,7 @@ How to Use
###Include the BrowserID include.js library in your site by adding the following script tags to your pages:
```
-<script>navigator.id || document.write('<script src="//browserid.org/include.js"><\/script>')</script>
+<script>navigator.id || document.write('<script src="https://browserid.org/include.js"><\/script>')</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="jquery.browserid.js"></script>
```

0 comments on commit fdd688b

Please sign in to comment.