From d82b4ebe722d20e00a015b8b2dc31b5d51a6caac Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Fri, 19 Feb 2016 23:36:04 +0200 Subject: Use Protocol-relative URL, as defined in https://atb.disqus.com/admin/universalcode/ - '//' instead of 'http://' or 'https://' --- new-bootstrap2/templates/article.html | 2 +- new-bootstrap2/templates/disqus_script.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'new-bootstrap2/templates') diff --git a/new-bootstrap2/templates/article.html b/new-bootstrap2/templates/article.html index 358661d..03e0953 100644 --- a/new-bootstrap2/templates/article.html +++ b/new-bootstrap2/templates/article.html @@ -33,7 +33,7 @@ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; + dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); diff --git a/new-bootstrap2/templates/disqus_script.html b/new-bootstrap2/templates/disqus_script.html index e0940cd..e506d89 100644 --- a/new-bootstrap2/templates/disqus_script.html +++ b/new-bootstrap2/templates/disqus_script.html @@ -7,10 +7,10 @@ /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; + dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); comments powered by Disqus -{% endif %} \ No newline at end of file +{% endif %} -- cgit From c817f12a9f5034a05abec4d2515adabd003f9ac0 Mon Sep 17 00:00:00 2001 From: Adam Matan Date: Sat, 20 Feb 2016 01:47:35 +0200 Subject: Use https:// for all Disqus calls --- new-bootstrap2/templates/article.html | 2 +- new-bootstrap2/templates/disqus_script.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'new-bootstrap2/templates') diff --git a/new-bootstrap2/templates/article.html b/new-bootstrap2/templates/article.html index 03e0953..1356f28 100644 --- a/new-bootstrap2/templates/article.html +++ b/new-bootstrap2/templates/article.html @@ -33,7 +33,7 @@ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//{{ DISQUS_SITENAME }}.disqus.com/embed.js'; + dsq.src = 'https://{{ DISQUS_SITENAME }}.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); diff --git a/new-bootstrap2/templates/disqus_script.html b/new-bootstrap2/templates/disqus_script.html index e506d89..fb0785b 100644 --- a/new-bootstrap2/templates/disqus_script.html +++ b/new-bootstrap2/templates/disqus_script.html @@ -7,7 +7,7 @@ /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; + dsq.src = 'https://' + disqus_shortname + '.disqus.com/embed.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); -- cgit