mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Fix mixed-content warning.
Use https:// instead of http:// to load jQuery and Google Analytics. Now Google Chrome will load jQuery and Google Analytics instead of blocking the scripts and throwing a mixed-content warning.
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html itemscope itemtype="http://schema.org/CreativeWork">
|
||||
<html itemscope itemtype="https://schema.org/CreativeWork">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<!--
|
||||
@@ -16,7 +16,7 @@
|
||||
<meta itemprop="name" property="og:title" content="A Dark Room" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
<link rel="image_src" href="img/adr.png" />
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
<script src="https://www.dropbox.com/static/api/dropbox-datastores-1.1-latest.js" type="text/javascript"></script>
|
||||
<script>
|
||||
if(!window.jQuery) {
|
||||
@@ -90,7 +90,7 @@
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-41314886-1', 'doublespeakgames.com');
|
||||
ga('send', 'pageview');
|
||||
|
||||
Reference in New Issue
Block a user