{"action":"created","issue":{"url":"https://api.github.com/repos/swcarpentry/site/issues/896","labels_url":"https://api.github.com/repos/swcarpentry/site/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/swcarpentry/site/issues/896/comments","events_url":"https://api.github.com/repos/swcarpentry/site/issues/896/events","html_url":"https://github.com/swcarpentry/site/issues/896","id":63760477,"number":896,"title":"Disqus comments isn't working when using HTTPS","user":{"login":"r-gaia-cs","id":1506457,"avatar_url":"https://avatars.githubusercontent.com/u/1506457?v=3","gravatar_id":"","url":"https://api.github.com/users/r-gaia-cs","html_url":"https://github.com/r-gaia-cs","followers_url":"https://api.github.com/users/r-gaia-cs/followers","following_url":"https://api.github.com/users/r-gaia-cs/following{/other_user}","gists_url":"https://api.github.com/users/r-gaia-cs/gists{/gist_id}","starred_url":"https://api.github.com/users/r-gaia-cs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-gaia-cs/subscriptions","organizations_url":"https://api.github.com/users/r-gaia-cs/orgs","repos_url":"https://api.github.com/users/r-gaia-cs/repos","events_url":"https://api.github.com/users/r-gaia-cs/events{/privacy}","received_events_url":"https://api.github.com/users/r-gaia-cs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swcarpentry/site/labels/bug","name":"bug","color":"fc3030"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T16:03:10Z","updated_at":"2015-03-23T16:07:13Z","closed_at":null,"body":"For example, https://software-carpentry.org/blog/2015/03/whats-in-your-bag.html doesn't load. Tested with clean Firefox 36.\r\n\r\nThis is probably due the script that loads Disqus comments:\r\n\r\n~~~\r\n   (function() {\r\n      var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;\r\n      dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';\r\n      (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);\r\n    })();\r\n~~~\r\n\r\nThe source probably need to be HTTP**S** and not HTTP."},"comment":{"url":"https://api.github.com/repos/swcarpentry/site/issues/comments/85068736","html_url":"https://github.com/swcarpentry/site/issues/896#issuecomment-85068736","issue_url":"https://api.github.com/repos/swcarpentry/site/issues/896","id":85068736,"user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T16:07:13Z","updated_at":"2015-03-23T16:07:13Z","body":"@r-gaia-cs I use a protocol agnostic approach in my blog\r\n\r\n```javascript\r\ndsq.src = \"//\" + disqus_shortname + '.disqus.com/embed.js';\r\n```\r\n\r\nThat should work for both HTTP and HTTPS."}}