When you access the application on Facebook, HTTPS is used to transfer data, but Chrome has blocked content transmitted over normal HTTP and insists that everything be securely transferred, while Firefox is not so fussy.
This displays the console in Chrome
[blocked] The page at https://salty-shelf-6707.herokuapp.com/ ran insecure content from http://www.google.com/jsapi. Uncaught ReferenceError: google is not defined
The Google JS API is blocked and JavaScript does not work.
(You also have some obscure errors, but they are not related)
The application works great through http://salty-shelf-6707.herokuapp.com/ , as you mentioned, but not through https://salty-shelf-6707.herokuapp.com/
Try the following command instead:
<script type="text/javascript" src="//www.google.com/jsapi"></script>
// at the beginning of the value src will make a relative URL or for the correct technical term related to the scheme.
Paul Irish, lead developer of the HTML5 Boilerplate, has more information about this in a post on his website.
source share