Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always load include.js over HTTPS (security issue)

  • Loading branch information...
commit fdd688b46e3e9ff002545a0734d4d1a77eab9e0f 1 parent 3c705d5
@fmarier fmarier authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 Demos/index.html
  2. +1 −1  README.md
View
4 Demos/index.html
@@ -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
2  README.md
@@ -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>
```
Please sign in to comment.
Something went wrong with that request. Please try again.