From 849099c2993c9d010661aaeae0eece27703c6750 Mon Sep 17 00:00:00 2001 From: Stefan Breunig Date: Mon, 25 Feb 2013 22:39:06 +0100 Subject: [PATCH] add more HTTPS links. IITC is likely still broken for HTTPS Intel Map. --- code/boot.js | 8 ++++---- code/utils_misc.js | 2 +- main.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/boot.js b/code/boot.js index c1e1d515..cac8721f 100644 --- a/code/boot.js +++ b/code/boot.js @@ -294,12 +294,12 @@ function asyncLoadScript(a){return function(b,c){var d=document.createElement("s // modified version of https://github.com/shramov/leaflet-plugins. Also // contains the default Ingress map style. -var LEAFLETGOOGLE = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/leaflet_google.js'; +var LEAFLETGOOGLE = 'https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/leaflet_google.js'; var JQUERY = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'; -var JQUERYUI = 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js'; -var JQUERYQRCODE = 'http://jeromeetienne.github.com/jquery-qrcode/jquery.qrcode.min.js'; +var JQUERYUI = 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js'; +var JQUERYQRCODE = 'https://raw.github.com/jeromeetienne/jquery-qrcode/master/jquery.qrcode.min.js'; var LEAFLET = 'http://cdn.leafletjs.com/leaflet-0.5/leaflet.js'; -var AUTOLINK = 'http://breunigs.github.com/ingress-intel-total-conversion/dist/autolink.js'; +var AUTOLINK = 'https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/autolink.js'; var EMPTY = 'data:text/javascript;base64,'; // don’t download resources which have been injected already diff --git a/code/utils_misc.js b/code/utils_misc.js index 4d1444bc..1f640e78 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -54,7 +54,7 @@ window.postAjax = function(action, data, success, error) { // use full URL to avoid issues depending on how people set their // slash. See: // https://github.com/breunigs/ingress-intel-total-conversion/issues/56 - url: window.location.protocol + '//www.ingress.com/rpc/dashboard.'+action, + url: 'https://www.ingress.com/rpc/dashboard.'+action, type: 'POST', data: data, dataType: 'json', diff --git a/main.js b/main.js index aa8b9598..db95ae40 100644 --- a/main.js +++ b/main.js @@ -56,7 +56,7 @@ var ir = window.internalResources || []; var mainstyle = 'http://breunigs.github.com/ingress-intel-total-conversion/style.css?@@BUILDDATE@@'; var smartphone = 'http://breunigs.github.com/ingress-intel-total-conversion/mobile/smartphone.css?@@BUILDDATE@@'; var leaflet = 'http://cdn.leafletjs.com/leaflet-0.5/leaflet.css'; -var coda = 'http://fonts.googleapis.com/css?family=Coda'; +var coda = 'https://fonts.googleapis.com/css?family=Coda'; // remove complete page. We only wanted the user-data and the page’s // security context so we can access the API easily. Setup as much as